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
[Optional] Sponsorship to speed up the bug fix or feature request (example)
Description
When I use the following JSON to generate code, the fields with enum types in the model do not generate the corresponding enums. The generated code is as follows:
Bug Report Checklist
Description
When I use the following JSON to generate code, the fields with enum types in the model do not generate the corresponding enums. The generated code is as follows:
The enum values for
code
are not reflected in the model.openapi-generator version
openapi-generator-cli-6.6.0.jar
OpenAPI declaration file content or url
Generation Details
Steps to reproduce
java -jar bin/openapi-generator-cli-6.6.0.jar generate
-g go
-i template/oas_full.json
-o source
--global-property skipFormModel=false,modelTests=false,apiTests=false,modelDocs=false
Related issues/PRs
Suggest a fix
generate the correct enum classes.
The text was updated successfully, but these errors were encountered: