[PR #5098] [MERGED] feat(common): support importing OpenAPI YAML definitions from URL #5054

Closed
opened 2026-03-17 02:32:11 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hoppscotch/hoppscotch/pull/5098
Author: @anwarulislam
Created: 5/26/2025
Status: Merged
Merged: 5/27/2025
Merged by: @jamesgeorge007

Base: nextHead: feat/openapi-yaml-from-url


📝 Commits (4)

  • b13041f feat: add focus directive to URL input field in UrlImport component
  • 1491d95 feat: update URL import logic to support parsing of JSON and YAML response bodies
  • 7d688bf refactor: update attribute order as per the style guide
  • 3fc32e5 refactor: remove redundant interpolation

📊 Changes

2 files changed (+20 additions, -3 deletions)

View changed files

📝 packages/hoppscotch-common/src/components/importExport/ImportExportSteps/UrlImport.vue (+4 -3)
📝 packages/hoppscotch-common/src/helpers/functional/json.ts (+16 -0)

📄 Description

Closes HFE-844 #5030

Update the URL import logic to support parsing response bodies in both JSON and YAML formats. And import from URL by both JSON and YAML.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/hoppscotch/hoppscotch/pull/5098 **Author:** [@anwarulislam](https://github.com/anwarulislam) **Created:** 5/26/2025 **Status:** ✅ Merged **Merged:** 5/27/2025 **Merged by:** [@jamesgeorge007](https://github.com/jamesgeorge007) **Base:** `next` ← **Head:** `feat/openapi-yaml-from-url` --- ### 📝 Commits (4) - [`b13041f`](https://github.com/hoppscotch/hoppscotch/commit/b13041f225350a5b7dd9794b761733323bc37784) feat: add focus directive to URL input field in UrlImport component - [`1491d95`](https://github.com/hoppscotch/hoppscotch/commit/1491d95e331025ae2e2616c51d4a69aa81a01d91) feat: update URL import logic to support parsing of JSON and YAML response bodies - [`7d688bf`](https://github.com/hoppscotch/hoppscotch/commit/7d688bfc575de306790fabe79ce0a0d4fae4d23b) refactor: update attribute order as per the style guide - [`3fc32e5`](https://github.com/hoppscotch/hoppscotch/commit/3fc32e58b90937b8446cf877dc0bb1f53e5b310d) refactor: remove redundant interpolation ### 📊 Changes **2 files changed** (+20 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `packages/hoppscotch-common/src/components/importExport/ImportExportSteps/UrlImport.vue` (+4 -3) 📝 `packages/hoppscotch-common/src/helpers/functional/json.ts` (+16 -0) </details> ### 📄 Description Closes HFE-844 #5030 Update the URL import logic to support parsing response bodies in both JSON and YAML formats. And import from URL by both JSON and YAML. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-17 02:32:11 +03:00
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#5054
No description provided.