mirror of
https://github.com/valitydev/openapi-generator.git
synced 2024-11-07 02:55:19 +00:00
1058728777
Enums defines as ref models have a different object structure (CodegenModel) than those defined as inner enums (CodegenProperty). To make these look as similar as possible, we walk all ref model enums and reassign enumVars with the same properties inherited from the top level CodegenProperty so CodegenModel enums can use the same templates as inner enums. |
||
---|---|---|
.. | ||
swagger-codegen | ||
swagger-codegen-cli | ||
swagger-codegen-maven-plugin | ||
swagger-generator |