[GH-ISSUE #5177] [bug]: OpenAPI import - request baseUrl variable missing #1972

Closed
opened 2026-03-16 22:41:53 +03:00 by kerem · 5 comments
Owner

Originally created by @MSP-Stev on GitHub (Jun 20, 2025).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/5177

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

Platform

Web App

Browser

Chrome

Operating System

Windows

Bug Description

The OpenAPI import creates all request without baseUrl variable.
Cloud & Self-Hosted, Web App and Desktop app have same result.

Steps to reproduce

  1. open Import dialog
  2. Select "Import from OpenAPI"
  3. choose local file
  4. import example.json
  5. All requests only show "./" in the url without baseUrl variable
Image

Screenshot

Other API clients replace "./" to baseUrl, as far i can tell

Image Image

Deployment Type

Hoppscotch Cloud

Version

No response

Originally created by @MSP-Stev on GitHub (Jun 20, 2025). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/5177 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 ### Platform Web App ### Browser Chrome ### Operating System Windows ### Bug Description The OpenAPI import creates all request without baseUrl variable. Cloud & Self-Hosted, Web App and Desktop app have same result. ## Steps to reproduce 1. open Import dialog 2. Select "Import from OpenAPI" 3. choose local file 4. import [example.json](https://github.com/user-attachments/files/20834495/example.json) 5. All requests only show "./" in the url without baseUrl variable <img width="691" alt="Image" src="https://github.com/user-attachments/assets/a192160b-668d-4a95-8dd3-922ee76a13a2" /> ## Screenshot Other API clients replace "./" to baseUrl, as far i can tell <img width="552" alt="Image" src="https://github.com/user-attachments/assets/a2fddb2c-3be0-496e-a11a-08e56281307e" /> <img width="509" alt="Image" src="https://github.com/user-attachments/assets/bd1aa870-f3be-417b-adc9-a990c0ada8d6" /> ### Deployment Type Hoppscotch Cloud ### Version _No response_
kerem 2026-03-16 22:41:53 +03:00
Author
Owner

@SujalBhatt commented on GitHub (Jun 26, 2025):

Hi !! I'd love to work on this issue as a first-time contributor. It looks like the import logic isn’t correctly using the servers.url from the OpenAPI spec — I’ll investigate and submit a fix. Let me know if it’s okay to proceed!

<!-- gh-comment-id:3008154567 --> @SujalBhatt commented on GitHub (Jun 26, 2025): Hi !! I'd love to work on this issue as a first-time contributor. It looks like the import logic isn’t correctly using the `servers.url` from the OpenAPI spec — I’ll investigate and submit a fix. Let me know if it’s okay to proceed!
Author
Owner

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

@SujalBhatt you can give it a try.

<!-- gh-comment-id:3008167369 --> @liyasthomas commented on GitHub (Jun 26, 2025): @SujalBhatt you can give it a try.
Author
Owner

@SujalBhatt commented on GitHub (Jun 26, 2025):

Thank you so much @liyasthomas , I will try my best !!

<!-- gh-comment-id:3008171587 --> @SujalBhatt commented on GitHub (Jun 26, 2025): Thank you so much @liyasthomas , I will try my best !!
Author
Owner

@jamesgeorge007 commented on GitHub (Jul 14, 2025):

Hi @SujalBhatt, thanks for taking on this issue!

This one was prioritised for an upcoming patch release, so @anwarulislam from the team has addressed it in #5232.
Appreciate your willingness to help - please feel free to check out other open issues in the meantime. We’d love to have you involved in future contributions!

<!-- gh-comment-id:3068509046 --> @jamesgeorge007 commented on GitHub (Jul 14, 2025): Hi @SujalBhatt, thanks for taking on this issue! This one was prioritised for an upcoming patch release, so @anwarulislam from the team has addressed it in #5232. Appreciate your willingness to help - please feel free to check out other open issues in the meantime. We’d love to have you involved in future contributions!
Author
Owner

@jamesgeorge007 commented on GitHub (Jul 16, 2025):

Closing this issue since it's addressed in the latest release.

<!-- gh-comment-id:3078800416 --> @jamesgeorge007 commented on GitHub (Jul 16, 2025): Closing this issue since it's addressed in the latest 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#1972
No description provided.