openapi-generator-cli
openapi-generator-cli copied to clipboard
[BUG] Model with only enum doesn't work
⚠️ Important Notice
Please differentiate the bug
This repository is not responsible for the actual code generation. If you have problems with the code generation, please open the bug at OpenAPITools/openapi-generator.
Please also check if the bug is already known before you open a new bug.
🐛 Bug Report:
Describe the bug
The issue is with a simple enum model in global components ( with objects works ) while I'm trying to generate them using ref to this model ( screens )
Expected behavior
We can use enums as model
Screenshots
Operation System (please complete the following information):
- OS: Windows 10
- Version x64
Package System (please complete the following information):
- Version 2.12.0
Additional context
Add any other context about the problem here.