mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-25 16:55:59 +03:00
[PR #4908] [MERGED] fix(common): handle missing host and basePath in OpenAPI URL parsing #4981
Labels
No labels
CodeDay
a11y
browser limited
bug
bug fix
cli
core
critical
design
desktop
discussion
docker
documentation
duplicate
enterprise
feature
feature
fosshack
future
good first issue
hacktoberfest
help wanted
i18n
invalid
major
minor
need information
need testing
not applicable to hoppscotch
not reproducible
pull-request
question
refactor
resolved
sandbox
self-host
spam
stale
testmu
wip
wont fix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hoppscotch#4981
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/hoppscotch/hoppscotch/pull/4908
Author: @anwarulislam
Created: 3/18/2025
Status: ✅ Merged
Merged: 3/19/2025
Merged by: @jamesgeorge007
Base:
patch← Head:fix/missing-openapi-baseurl📝 Commits (2)
ecc4083fix(common): handle missing host and basePath in OpenAPI URL parsing9f307f7chore: cleanup📊 Changes
1 file changed (+3 additions, -1 deletions)
View changed files
📝
packages/hoppscotch-common/src/helpers/import-export/import/openapi.ts(+3 -1)📄 Description
Closes HFE-783 #4852
This PR addresses the issue where importing the Open API results in requests being generated with an undefined base path, specifically creating requests like undefined/api/v2/list instead of the correct <>/api/v2/list.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.