Skip to content

Commit

Permalink
feat: Update list of examples in generate.go (new errors)
Browse files Browse the repository at this point in the history
  • Loading branch information
JuroUhlar committed Jan 17, 2023
1 parent e1ebf03 commit a328ad6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generate.go
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ func generateSwagger() {
}

func getExamples() {
list := []string{"visits_limit_1.json", "visits_limit_500.json", "webhook.json", "get_event.json", "get_event_400_error.json", "get_event_403_error.json"}
list := []string{"visits_limit_1.json", "visits_limit_500.json", "webhook.json", "get_event.json", "get_event_403_error.json", "get_event_404_error.json", "get_event_botd_error.json"}

for _, file := range list {
cmd := exec.Command("curl", "-o", fmt.Sprintf("./test/mocks/%s", file), fmt.Sprintf("https://fingerprintjs.github.io/fingerprint-pro-server-api-openapi/examples/%s", file))
Expand Down

0 comments on commit a328ad6

Please sign in to comment.