diff --git a/tools/internal/generator/openapiv2_parser.go b/tools/internal/generator/openapiv2_parser.go index 10cd29395..56cb414cc 100644 --- a/tools/internal/generator/openapiv2_parser.go +++ b/tools/internal/generator/openapiv2_parser.go @@ -26,7 +26,6 @@ func init() { openapi3Loader.ReadFromURIFunc = func(loader *openapi3.Loader, uri *url.URL) ([]byte, error) { return os.ReadFile(uri.Path) } - openapi3.CircularReferenceCounter = 10 } func ParseOpenAPIv2Files(basePath string) []map[string]*openapi3.SchemaRef {