You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
INFO convenient Convenient errors are not available {"reason": "operation has no "default" response", "at": "petstore.yml:15:9"}
generate:
main.run
/home/yawnak/go/pkg/mod/github.com/ogen-go/[email protected]/cmd/ogen/main.go:379
What version of ogen are you using?
github.com/ogen-go/ogen v1.4.1
Can this issue be reproduced with the latest version?
YES
What did you do?
Tried to generate code from schema
Command:
//go:generate go run github.com/ogen-go/ogen/cmd/ogen@latest --target petstore petstore.yml
Link to schema on google drive: LINK
What did you expect to see?
I expected generated code without errors
What did you see instead?
Error after generate
INFO convenient Convenient errors are not available {"reason": "operation has no "default" response", "at": "petstore.yml:15:9"}
generate:
main.run
/home/yawnak/go/pkg/mod/github.com/ogen-go/[email protected]/cmd/ogen/main.go:379
main.generate
/home/yawnak/go/pkg/mod/github.com/ogen-go/[email protected]/cmd/ogen/main.go:100
github.com/ogen-go/ogen/gen.(*Generator).WriteSource.(*Generator).WriteSource.func1.func2
/home/yawnak/go/pkg/mod/github.com/ogen-go/[email protected]/gen/write.go:299
exit status 1
generate.go:3: running "go": exit status 1
The text was updated successfully, but these errors were encountered: