OpenAPITools / OpenAPITools/openapi-generator
[BUG] Model with only enum doesn't work
Open
@kay-schecker is already working on this.
Since Jul 5, 2024.
- Dominant language
- Java
- Stars
- 26.8k
- Forks
- 7.7k
- PR merge metrics
- PR metrics pending
Description
⚠️ 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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.