openapi-cli-generator icon indicating copy to clipboard operation
openapi-cli-generator copied to clipboard

Error main.go:132:40: undefined: openapi3.Swagger

Open Randall-Aguilar-eng opened this issue 3 years ago • 0 comments

While running command - "go get -u github.com/danielgtaylor/openapi-cli-generator" I am getting the following errors "main.go:132:40: undefined: openapi3.Swagger" "main.go:625:12: undefined: openapi3.NewSwaggerLoader" "main.go:626:15: undefined: openapi3.Swagger". No sure what is missing, but based on the openapi3 some fields were renamed i.e openapi3.Swagger to openapi3.T.

I am new with go and openapi-cli-generator

Randall-Aguilar-eng avatar Jan 10 '22 23:01 Randall-Aguilar-eng