Skip to content

Display static documentation information for multipart properties in OpenAPI 3.0 files #5169

@RichieLoco

Description

@RichieLoco

Following on from #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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions