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
I ran into the same problem while generating OpenAPI specification using aide. The managed to work around this issue and documented all the options I come up with in this issue.
Based on my research your solution would be to use untagged enums.
Hello,
Is it possible to make the schema for an enum to use $refs instead of having all the variants in a single oneOf block?
For example, I have the following:
which outputs:
Ideally I would like to have the
MyEnum
defined as such:Thank you in advance.
The text was updated successfully, but these errors were encountered: