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.

Import from openapi v3 with "~1" in parameter $ref

See original GitHub issue

Describe the bug “Error while importing Open API 3.0: Could not import” if I have “~1” in “$ref”.

To Reproduce

  1. Menu “Import” -> Import File…
  2. Got error: “Error while importing Open API 3.0: Could not import”

App information (please complete the following information):

  • Windows 7
  • Postman v7.0.8

Additional context This behavior only if a have “~1” in “$ref” in parameters:

    "/order": {
      "get": {
        "parameters": [
          {
            "$ref": "#/paths/~1application~1order/get/parameters/0"
          }
        ],

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
abhijitkanecommented, May 26, 2019

Thanks @cia1. PR https://github.com/postmanlabs/openapi-to-postman/pull/66 should address this. We’ll include this in the next release.

0reactions
abhijitkanecommented, Jun 19, 2019

@cia1 This has been addressed in the latest Postman version - 7.2.1.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Using $ref - Swagger
OAS 3 This guide is for OpenAPI 3.0. Using $ref. When you document an API, it is common to have some features which...
Read more >
OpenAPI Specification v3.1.0 | Introduction, Definitions, & More
The OpenAPI Specification (OAS) defines a standard, programming language-agnostic interface description for HTTP APIs.
Read more >
OpenAPI 3.1 - What's New and How to Migrate to ... - APIMatic
Go to the APIMatic Dashboard and click on Transform API. Import the OpenAPI 3.0 specification linked above. Select the export format as OpenAPI...
Read more >
Importing API Definitions | SwaggerHub Documentation
You can import your existing OpenAPI 3.0, OpenAPI 2.0 or AsyncAPI definitions to SwaggerHub. Both JSON and YAML definitions can be imported, and...
Read more >
API import restrictions and known issues - Azure
Can't reference external files. OpenAPI specifications. Supported versions. API Management only supports: OpenAPI version 2. OpenAPI version 3.0 ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

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