-
Notifications
You must be signed in to change notification settings - Fork 8.9k
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
enum values not displayed in example/model view (resubmitted using template) #3761
Comments
While this is a bug, you can easily overcome it by explicitly adding the type. accessTokenReq:
type: object
properties:
grant_type:
type: string
enum:
- client_credentials
client_id:
type: string
client_secret:
type: string |
Hi, is this bug being considered for a future fix? I like the work around in the mean time, but it'd be nice to know if there a fix coming as well. Thanks. |
@awalsh-broadsoft we have no immediate plans to work on this issue. |
Still have this issue in 2020... |
Any updates in this issue? |
Still happens... |
ENUM values in the schema definition are not displayed in the example/model view sections of the swagger-ui page.
Demonstration API definition
Expected Behavior
Rendered by UI:
Example section:
Model section
Current Behavior
Rendered by UI:
Example section:
Model section
Possible Solution
Context
The text was updated successfully, but these errors were encountered: