-
Notifications
You must be signed in to change notification settings - Fork 110
Feature/87 support enums in generators #130
New issue
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
Feature/87 support enums in generators #130
Conversation
Hey @ozscheyge , did you already took a look into this PR ? Any change to get this functionality merged and probably released by the end of this week ? I would have some spare time this week :-) |
Hey @thowimmer , I had a brief look, but realized I first need to better research how possible enum values are modeled in OpenAPI 2/3 before giving feedback. I'm quite busy atm, but I'll take care of it tomorrow, so it could be done before end of the week. |
Sure, no worries. I'm glad for any feedback and improvements. We can also have a more in-deep discussion if you like. Here just some things to mention:
Previously generated JSON schema
Newly generated JSON schema (with commit 04f4bc7)
Here are some references to the OpenAPI specs: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the detailed explanation and links to the schema specs. Made reviewing it a lot easier!
One suggestion:
...ain/kotlin/com/epages/restdocs/apispec/jsonschema/JsonSchemaFromFieldDescriptorsGenerator.kt
Outdated
Show resolved
Hide resolved
...ain/kotlin/com/epages/restdocs/apispec/jsonschema/JsonSchemaFromFieldDescriptorsGenerator.kt
Outdated
Show resolved
Hide resolved
…rators' into feature/87-support-enums-in-generators
Fixes #87 (comment)