swagger-api / swagger-api/swagger-ui
OAS 3.0 Support Backlog
@shockey is already working on this.
Since Sep 11, 2017.
- Dominant language
- JavaScript
- Stars
- 29k
- Forks
- 9.3k
- Avg merge
- 2d 23h
- Merged PRs (30d)
- 25
Description
⚠️ Note to onlookers: don't rely on this information, this issue is out of date! We're breaking everything here out into their own issues soon.
This is a collection ticket for OAS3 specification features that are not yet supported by Swagger-UI.
Items that affect both UI and Client will be listed here as well, but Client-only items will be filed in the Client issue tracker.
Significant items should be broken out into their own ticket when work begins, but simple items can be addressed as a line item here.
Rendering
- Parameter
example/examplesis not displayed
#3616 is open for this.
Implement functionality for Try-It-Out simultaneously.
- Parameter
style/explodeis not displayed
- Parameter
allowReservedis not displayed
- Parameter
contentis not displayed
Reuse method for displaying Request Bodies
Render all media types, even though only one is allowed by the specification
- Media type
example/examplesis not displayed
Identical to Request Body, Parameter content
- Callbacks are not rendered
- Media type
encodingis not displayed
This has lots of moving parts before it's useful: breaking down jsonschema, rendering individual inputs, handling file uploads, etc
- Discriminator objects are not displayed
This will change the way we display allOf, anyOf, oneOf, not.
- Link-level servers are not displayed
Try-It-Out
- Parameter
style/explodeis not considered in request construction
Needs support in Swagger-Client, mostly. Important!
- Links can't be used to stage another operation
- Link-level servers are not available for executing requests
- Parameter
contentvalues are not rendered for Try-It-Out - Parameter
encodingvalues are not considered - Blacklisted header names (
Accept,Content-Type,Authorization) are not filtered out - Path and operation-level servers are not available for executing requests
- Parameter
allowEmptyValueis not considered in request value validation
Add a checkbox that allows construction of a request with that parameter empty (may require value validation changes)
if ‘send empty value’ is checked - you’re sending an empty value meaning the requirement is satisfied
Implementation may be best served by a split of Client'sbuildRequestbased on definition version
- Security type
openIdConnectis not supported - Form Data:
- Nested object serialization is not handled correctly (#3788)
- Form data fields should be displayed as items instead of a JSON object
- File upload UI should appear when applicable
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.