question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

OAS 3.0 Support Backlog

See original GitHub issue

⚠️ 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

Issue Analytics

  • State:open
  • Created 6 years ago
  • Reactions:53
  • Comments:34 (14 by maintainers)

github_iconTop GitHub Comments

30reactions
beltschatsarcommented, Apr 24, 2019

Hi,

Can we have status about this missing feature ?

Try-it-out

  • Links can’t be used to stage another operation

So that an api call output can serve as input for another call (as explained there: https://swagger.io/docs/specification/links/)

Thanks!

27reactions
amarel123commented, Nov 21, 2017

File upload UI should appear when applicable

What is the current progress? It’s very useful option.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to use OpenAPI 3.0 response "links" in Swagger UI?
OAS 3.0 Support Backlog This is a collection ticket for OAS3 specification features that are not yet supported by Swagger-UI.
Read more >
OAS 3.0 Full API Lifecycle Support with Anypoint Platform
Today, we are excited to announce the introduction of OpenAPI Specification 3.0 support across the full API lifecycle with Anypoint ...
Read more >
What's New in OpenAPI 3.0 - Nordic APIs
The OpenAPI Specification (OAS) is supported by various industry heavyweights including the likes of Google, Microsoft, and IBM, ...
Read more >
OpenAPI Specification - Version 3.0.3 - Swagger
OAS uses several known formats to define in fine detail the data type being used. However, to support documentation needs, the format property...
Read more >
Using OpenAPI Specifications - MockServer
MockServer supports OpenAPI v3 specifications in either JSON or YAML format. OpenAPI specifications can be used in request matchers for.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found