swagger-ui
swagger-ui copied to clipboard
Display example values for form fields
trafficstars
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:

Default view:

Try it out view:

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

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