[GH-ISSUE #4965] [bug]: OpenAPI import shows all response codes as 200 #1881

Closed
opened 2026-03-16 22:13:23 +03:00 by kerem · 1 comment
Owner

Originally created by @GeeekySouro003 on GitHub (Apr 7, 2025).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/4965

Is there an existing issue for this?

  • I have searched existing issues and this bug hasn't been reported yet

Current behavior

    "responses" : {
      "200" : {
        "description" : "Das Bild"
      },
      "400" : {
        "description" : "Die Parameter fehlen oder sind falsch"
      },
      "404" : {
        "description" : "Das Dokument oder dessen Inhalt konnte aufgrund der Dokument-Adresse nicht gefunden werden"
      },
      "500" : {
        "description" : "Das Bild konnte nicht konvertiert werden"
      }
    }

Steps to reproduce

  • Go to 'Personal Workspace > Collections'
  • Click on 'Import / Export'
  • Click on 'Import from OpenAPI' and 'Import from URL'
  • Choose an URL that contains several responses for an endpoint
  • Check how they are shown in the collection

Logs and Screenshots


Environment

Production

Hoppscotch Version

Local

Interceptor

Not Applicable - Issue not related to network requests

Browsers Affected

No response

Operating System

None

Additional Information

No response

Originally created by @GeeekySouro003 on GitHub (Apr 7, 2025). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/4965 ### Is there an existing issue for this? - [x] I have searched existing issues and this bug hasn't been reported yet ### Current behavior "responses" : { "200" : { "description" : "Das Bild" }, "400" : { "description" : "Die Parameter fehlen oder sind falsch" }, "404" : { "description" : "Das Dokument oder dessen Inhalt konnte aufgrund der Dokument-Adresse nicht gefunden werden" }, "500" : { "description" : "Das Bild konnte nicht konvertiert werden" } } ### Steps to reproduce - Go to 'Personal Workspace > Collections' - Click on 'Import / Export' - Click on 'Import from OpenAPI' and 'Import from URL' - Choose an URL that contains several responses for an endpoint - Check how they are shown in the collection ### Logs and Screenshots ```shell ``` ### Environment Production ### Hoppscotch Version Local ### Interceptor Not Applicable - Issue not related to network requests ### Browsers Affected _No response_ ### Operating System None ### Additional Information _No response_
kerem 2026-03-16 22:13:23 +03:00
Author
Owner

@jamesgeorge007 commented on GitHub (Apr 8, 2025):

Hi, tracking this in #4956.

<!-- gh-comment-id:2785391998 --> @jamesgeorge007 commented on GitHub (Apr 8, 2025): Hi, tracking this in #4956.
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#1881
No description provided.