Swagger-ui: Display static documentation information for multipart properties in OpenAPI 3.0 files

Created on 8 Feb 2019  路  5Comments  路  Source: swagger-api/swagger-ui

Following on from https://github.com/swagger-api/swagger-ui/issues/5164, I am suggesting that for specs with multipart/form-data that we allow the main request body of the spec to show a preview of the payload, rather than leaving it blank (and appearing unrendered) like so:
v3 20 3_multipart
For "Try it now" feature it appears rendered correctly:
v3 20 3_multipart_tryitout
I am proposing something similar to the above pic, even if text areas/drop-downs appear greyed out. Attached following spec as an example which highlights what I thought was an issue, but turns out to be a feature:
v3.20.2_multipart_snippet.txt
Cheers, Rich

P2 rendering user experience Udesign input enhancement

Most helpful comment

Any updates? That's a bad limitation currently.

All 5 comments

Possibly related (or duplicate): #4581

@hkosova very closely related indeed, but this is for multipart/form-data properties, which display like parameters but are not parameters 馃槃

Hi all! Do you have any updates on that issue?

Any updates? That's a bad limitation currently.

any updates on this?

Was this page helpful?
0 / 5 - 0 ratings