-
Notifications
You must be signed in to change notification settings - Fork 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
Display the Model/schema for object and array[object] parameters #4581
Comments
Hi, I'm struggling with the same: I want to document a parameter similar to this one of the OIDC spec: https://openid.net/specs/openid-connect-core-1_0.html#ClaimsParameter So it's a JSON which is URL encoded. Showing the schema as mentioned above would be great - it would unify the behaviour for query params, body and responses. |
Is there any way to make this issue more noticeable? Because I really want this to be fixed |
As a stopgap, I added a link to the related schema anchor:
|
This is a follow-up to #3558 and also related to #3641.
As an API consumer,
I want to see the schema of object parameters (individual property types, descriptions, etc.),
so that I can better understand how to use the API.
Q&A (please complete the following information)
Demonstration API definition
Is your feature request related to a problem?
#3558 added a JSON editor for object-type parameters, which is great. However, it requires clicking "try it out" to see a sample object, and even after doing that, the parameter model descriptions and property descriptions are still not displayed anywhere in the UI.
Request bodies and responses have the "Model" tab - can it be reused for object parameters?
Describe the solution you'd like
Maybe reuse the "Model" component for object parameters?
Describe alternatives you've considered
N/a
Additional context
N/a
The text was updated successfully, but these errors were encountered: