Skip to content
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 example values for form fields #8087

Open
ZuzKay opened this issue Jun 29, 2022 · 1 comment
Open

Display example values for form fields #8087

ZuzKay opened this issue Jun 29, 2022 · 1 comment

Comments

@ZuzKay
Copy link

ZuzKay commented Jun 29, 2022

Hi, I'd like to request a way to display example values of form fields, i.e. multipart-form or x-www-form-urlencoded requests.

Currently, when I define an example value for a form field, it is not displayed by default. Only when I click "Try it out".

Definition:

image

Default view:

image

Try it out view:

image

For better readability and scannability, it would be useful to always display examples, maybe in a similar way that it's done for headers.

image

Thanks!

@tim-lai tim-lai transferred this issue from swagger-api/swagger-editor Jul 6, 2022
@tim-lai
Copy link
Contributor

tim-lai commented Jul 6, 2022

@ZuzKay fyi, I transferred this issue from SwaggerEditor to SwaggerUI, and labeled as a feature request

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants