You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Also if you remove the repr(i16) you will get enum that shows the names only. But those are the options basically. Anything else would need the enum itself not being represented as an enum but a type constructed from allOf and other attributes necessary to represent type with name.
Hello, I have an enum like this:
In the OpenAPI spec that was generated, it only shows the integers, with no name at all:

Is there a way to specify the name for enum variants? It'd be great to be able to have the names in the spec as well.
The text was updated successfully, but these errors were encountered: