swagger-api / swagger-api/swagger-ui

OAS 3.0 Support Backlog

Open
#3,641 36 comments 54 reactions 1 assignee View on GitHub

@shockey is already working on this.

Since Sep 11, 2017.

specification: 3.x
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/examples is not displayed

#3616 is open for this.
Implement functionality for Try-It-Out simultaneously.

  • Parameter style/explode is not displayed
  • Parameter allowReserved is not displayed
  • Parameter content is not displayed

Reuse method for displaying Request Bodies
Render all media types, even though only one is allowed by the specification

  • Media type example/examples is not displayed

Identical to Request Body, Parameter content

  • Callbacks are not rendered
  • Media type encoding is 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/explode is 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 content values are not rendered for Try-It-Out
  • Parameter encoding values 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 allowEmptyValue is 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's buildRequest based on definition version

  • Security type openIdConnect is 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.