[PR #4373] [MERGED] fix: import openapi file servers url detection #4773

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

📋 Pull Request Information

Original PR: https://github.com/hoppscotch/hoppscotch/pull/4373
Author: @Lupennat
Created: 9/21/2024
Status: Merged
Merged: 2/7/2025
Merged by: @jamesgeorge007

Base: patchHead: main


📝 Commits (1)

  • 32c976a fix(import-open-api): fix servers url detection

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

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

📄 Description

Closes #4688

What's changed

I added an optional chaining operator to detect the existence of the first element in the array


🔄 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/4373 **Author:** [@Lupennat](https://github.com/Lupennat) **Created:** 9/21/2024 **Status:** ✅ Merged **Merged:** 2/7/2025 **Merged by:** [@jamesgeorge007](https://github.com/jamesgeorge007) **Base:** `patch` ← **Head:** `main` --- ### 📝 Commits (1) - [`32c976a`](https://github.com/hoppscotch/hoppscotch/commit/32c976a91a5e98dd3afd55ab5ffaeac53dccfd73) fix(import-open-api): fix servers url detection ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `packages/hoppscotch-common/src/helpers/import-export/import/openapi.ts` (+1 -1) </details> ### 📄 Description Closes #4688 ### What's changed I added an optional chaining operator to detect the existence of the first element in the array --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-17 02:16:45 +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#4773
No description provided.