From a328ad6defbeff6cedc6769b87595fb18f56ba9e Mon Sep 17 00:00:00 2001 From: Juraj Uhlar Date: Tue, 17 Jan 2023 16:08:15 +0000 Subject: [PATCH] feat: Update list of examples in generate.go (new errors) --- generate.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generate.go b/generate.go index 57fc4e1..5108d86 100644 --- a/generate.go +++ b/generate.go @@ -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))