We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug
Enum properties are showing as "Structural error" in swagger editor
To Reproduce Create an enumerated type in your database and create a route for it. The enum is produced incorrectly:
the_model: items: type: object properties: an_enum_property: type: string enum: Value: Value Value2: Value2
Expected behavior
the_model: items: type: object properties: an_enum_property: type: string enum: - Value - Value2
Attachments If applicable, add screenshots or swagger.json
Version and Platform (please complete the following information):
Additional context
Enums need to be returned after being filtered through array_values
array_values
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Describe the bug
Enum properties are showing as "Structural error" in swagger editor
To Reproduce
Create an enumerated type in your database and create a route for it. The enum is produced incorrectly:
Expected behavior
Attachments
If applicable, add screenshots or swagger.json
Version and Platform (please complete the following information):
Additional context
Enums need to be returned after being filtered through
array_values
The text was updated successfully, but these errors were encountered: