-
-
Notifications
You must be signed in to change notification settings - Fork 7.3k
Closed
Description
Description
It seems like nullable is not supported yet for primitive types in model generation for Go . I checked for go-gin-server generation but it seems to be language wide issue.
openapi-generator version
openapi-generator version 3.3.4
OpenAPI declaration file content or url
Here is the simple model to check
https://editor.swagger.io/?url=https://gist.github.com/alex-korobko/8d3f4fbe817d4f1420ab779c91dddf94
Command line used for generation
openapi-generator generate --generator-name go-gin-server -i $SPEC -o $AUTO_CODE_DIR
Steps to reproduce
Use spec from the gist file (the link is above in the description).
Try to generate models for generator go-gin-server
Related issues/PRs
None found so far neither opened nor closed.