danielgtaylor / danielgtaylor/openapi-cli-generator
Error main.go:132:40: undefined: openapi3.Swagger
- Lingua principale
- Go
- Stelle
- 218
- Fork
- 54
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Direzione di ricerca
Start with the Go references at main.go:132 and main.go:625-626, then inspect the OpenAPI dependency version installed by the reported go get command and its current exported types. Confirm the intended compatibility change by running the project’s Go build or tests; done means these undefined-symbol errors no longer occur.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- go, openapi
- Ambito
- cli
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 45/100