Open glei034 opened 2 years ago
Hi, I have the same problem. Probably a bug. Have you by any chance found a workaround in the meantime?
Same problem here, definitely a bug. Still not working in 7.0.0-SNAPSHOT. Right now, enums only work if they are defined on a field and will be shown in the DataFormat section. But if you define a full type as enum (in case it's used multiple times), it won't generate anything.
Bug Report Checklist
Description
Enums inside of my json will only show up as an empty title inside of Asciidoc files generated with the Maven Plugin, with $refs to them also not linking up to them.
openapi-generator version
5.4.0
OpenAPI declaration file content or url
As an example, an enum like this:
would end up being created like this:![grafik](https://user-images.githubusercontent.com/103992991/165779661-d9953d62-7468-4056-8aa4-b8dc27acf120.png)
Is this a known issue or am I doing something wrong?