Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: Importing Nitro/Cortex OpenAPI Specification (YAML) Files Fails in Postman, While OpenAPI Specification Files Import Successfully #561

Closed
Tracked by #629
Van-QA opened this issue May 14, 2024 · 1 comment
Assignees
Labels
P1: important Important feature / fix roadmap: Cortex type: bug Something isn't working

Comments

@Van-QA
Copy link

Van-QA commented May 14, 2024

Describe the bug
When attempting to import a YAML-formatted Nitro / Cortex OpenAPI specification (OAS) file downloaded from a website into Postman, the import fails with an error message.
However, the same process works when using a YAML-formatted OpenAPI specification from the OpenAPI website.

Steps to reproduce

  1. Download a YAML-formatted Nitro / Cortex OAS file (e.g., nitro-cortex.yaml) from our website.
  2. Download a YAML-formatted OpenAPI specification file (e.g., openapi.yaml) from the OpenAPI website.
  3. Open Postman and go to File > Import.
  4. In the Import dialog, select File and choose the downloaded Nitro / Cortex OAS file.
  5. Click Open to attempt importing the Nitro or Cortex OAS file.
  6. Repeat steps 4-5 using the OpenAPI specification file from the OpenAPI website.

Expected behavior
Both the Nitro / Cortex OAS file and the OpenAPI specification file from the OpenAPI website should be successfully imported into Postman without any errors.

Observed behavior
The Nitro or Cortex OAS file fails to import with the error message
The OpenAPI specification file from the OpenAPI website was imported successfully.

This bug report highlights the difference in behavior between the Nitro or Cortex OAS file and the OpenAPI specification file from the OpenAPI website. Further investigation is required to determine if there are specific issues with the Nitro or Cortex OAS file or if Postman has compatibility issues with Nitro or Cortex OAS files.

Screenshots
https://nitro.jan.ai/api-reference
image
image
image
Related articles:
https://learning.postman.com/docs/integrations/available-integrations/working-with-openAPI/
https://community.postman.com/t/importing-open-api-3-0-yaml-to-postman-7-1/5823

@Van-QA Van-QA added the type: bug Something isn't working label May 14, 2024
@Van-QA Van-QA transferred this issue from janhq/jan May 14, 2024
@Van-QA Van-QA added the P1: important Important feature / fix label May 14, 2024
@louis-jan
Copy link
Contributor

There is no issue with the latest Cortex version.

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P1: important Important feature / fix roadmap: Cortex type: bug Something isn't working
Projects
Status: Done
Development

No branches or pull requests

3 participants