openapi-generator-cli icon indicating copy to clipboard operation
openapi-generator-cli copied to clipboard

[BUG] Model with only enum doesn't work

Open Emauss opened this issue 1 year ago • 0 comments

⚠️ 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

image_2024_07_05T09_14_07_747Z image image

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.

Emauss avatar Jul 05 '24 09:07 Emauss