[PR #3323] [MERGED] fix: missing baseurl on import openapi #4342

Closed
opened 2026-03-17 01:53:17 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hoppscotch/hoppscotch/pull/3323
Author: @anwarulislam
Created: 9/6/2023
Status: Merged
Merged: 9/18/2023
Merged by: @AndrewBastin

Base: release/2023.8.1Head: fix/openapi-import


📝 Commits (3)

  • e063519 fix: missing baseurl on import openapi
  • 4d08855 fix: url parser for openapi v3
  • e56fec5 chore: revert to baseURL for cases where doc servers is present but url is null

📊 Changes

2 files changed (+30 additions, -2 deletions)

View changed files

📝 packages/hoppscotch-common/src/helpers/import-export/import/index.ts (+1 -1)
📝 packages/hoppscotch-common/src/helpers/import-export/import/openapi.ts (+29 -1)

📄 Description

Closes HFE-205 #3301

Description

When a collection imported from OpenAPI/Swagger server URL is missing in every request. This PR fixes that issue.

  • Not Completed
  • Completed

Checks

  • My pull request adheres to the code style of this project
  • My code requires changes to the documentation
  • I have updated the documentation as required
  • All the tests have passed

🔄 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/3323 **Author:** [@anwarulislam](https://github.com/anwarulislam) **Created:** 9/6/2023 **Status:** ✅ Merged **Merged:** 9/18/2023 **Merged by:** [@AndrewBastin](https://github.com/AndrewBastin) **Base:** `release/2023.8.1` ← **Head:** `fix/openapi-import` --- ### 📝 Commits (3) - [`e063519`](https://github.com/hoppscotch/hoppscotch/commit/e06351945aa29ad2fdaa5d36f7e3731cc52efe6b) fix: missing baseurl on import openapi - [`4d08855`](https://github.com/hoppscotch/hoppscotch/commit/4d08855e06d95e146710a5b614e80d3dc1d1bb71) fix: url parser for openapi v3 - [`e56fec5`](https://github.com/hoppscotch/hoppscotch/commit/e56fec55d59873f31e8c06043adb2517e2373cbc) chore: revert to baseURL for cases where doc servers is present but url is null ### 📊 Changes **2 files changed** (+30 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `packages/hoppscotch-common/src/helpers/import-export/import/index.ts` (+1 -1) 📝 `packages/hoppscotch-common/src/helpers/import-export/import/openapi.ts` (+29 -1) </details> ### 📄 Description <!-- If this pull request closes an issue, please mention the issue number below --> Closes HFE-205 #3301 ### Description When a collection imported from OpenAPI/Swagger server URL is missing in every request. This PR fixes that issue. <!-- You can also choose to add a list of changes and if they have been completed or not by using the markdown to-do list syntax --> - [ ] Not Completed - [x] Completed ### Checks <!-- Make sure your pull request passes the CI checks and do check the following fields as needed - --> - [ ] My pull request adheres to the code style of this project - [ ] My code requires changes to the documentation - [ ] I have updated the documentation as required - [x] All the tests have passed --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-17 01:53:17 +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#4342
No description provided.