[GH-ISSUE #5030] [bug]: Import OpenAPI from URL doesn't support yaml format #1917

Closed
opened 2026-03-16 22:22:08 +03:00 by kerem · 1 comment
Owner

Originally created by @Leon-Luu on GitHub (Apr 29, 2025).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/5030

Originally assigned to: @anwarulislam on GitHub.

Is there an existing issue for this?

  • I have searched existing issues and this bug hasn't been reported yet

Current behavior

When import OpenAPI using "Import from url" it rejects with "file not recognize".
Hoppscotch seems only supporting import OpenAPI with json format with url based.
As import OpenAPI with files are supporting both yaml and json I beleive the change to add support for yaml is very easy changes.

Image

Steps to reproduce

  1. Press import/Export
  2. Press "Import from OpenAPI"
  3. Press "Import from URL"
  4. Provide the OpenApi spec url for example
    https://raw.githubusercontent.com/swagger-api/swagger-codegen/refs/heads/master/modules/swagger-codegen/src/test/resources/2_0/petstore.yaml
  5. Check import results

Logs and Screenshots


Environment

Production

Hoppscotch Version

Cloud

Interceptor

Not Applicable - Issue not related to network requests

Browsers Affected

Not browser-specific

Operating System

None

Additional Information

No response

Originally created by @Leon-Luu on GitHub (Apr 29, 2025). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/5030 Originally assigned to: @anwarulislam on GitHub. ### Is there an existing issue for this? - [x] I have searched existing issues and this bug hasn't been reported yet ### Current behavior When import OpenAPI using "Import from url" it rejects with "file not recognize". Hoppscotch seems only supporting import OpenAPI with json format with url based. As import OpenAPI with files are supporting both yaml and json I beleive the change to add support for yaml is very easy changes. ![Image](https://github.com/user-attachments/assets/7b70457e-7d3f-4255-aa1f-779807c19d25) ### Steps to reproduce 1. Press import/Export 2. Press "Import from OpenAPI" 3. Press "Import from URL" 4. Provide the OpenApi spec url for example https://raw.githubusercontent.com/swagger-api/swagger-codegen/refs/heads/master/modules/swagger-codegen/src/test/resources/2_0/petstore.yaml 5. Check import results ### Logs and Screenshots ```shell ``` ### Environment Production ### Hoppscotch Version Cloud ### Interceptor Not Applicable - Issue not related to network requests ### Browsers Affected Not browser-specific ### Operating System None ### Additional Information _No response_
kerem 2026-03-16 22:22:08 +03:00
Author
Owner

@liyasthomas commented on GitHub (Jun 1, 2025):

This feature is available in the recent release.

<!-- gh-comment-id:2927617977 --> @liyasthomas commented on GitHub (Jun 1, 2025): This feature is available in the recent release.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#1917
No description provided.