[GH-ISSUE #5860] [bug]: OpenAPI Imported Path Parameters Missing in Published Documentation #2300

Open
opened 2026-03-16 23:53:48 +03:00 by kerem · 0 comments
Owner

Originally created by @Leon-Luu on GitHub (Feb 11, 2026).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/5860

Originally assigned to: @nivedin 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

When importing a valid OpenAPI 3.0 specification with path parameters into Hoppscotch and publishing the documentation, the generated endpoints in the published doc show missing variables.
For example, instead of
GET https://api.example.com/availabilityclassifications/{classUnitType}/{classUnitCode}
the published documentation displays:
GET https://api.example.com/availabilityclassifications//

This happens for all methods on the path.

Image

Steps to reproduce the behavior:

Import the OpenAPI spec below (or similar) to Hoppscotch:

   openapi: 3.0.3
   info:
     title: Example API
     version: 1.0.0
   servers:
     - url: https://api.example.com
   paths:
     /availabilityclassifications/{classUnitType}/{classUnitCode}:
       parameters:
         - name: classUnitType
           in: path
           required: true
           schema:
             type: string
         - name: classUnitCode
           in: path
           required: true
           schema:
             type: string
       get:
         summary: Test
         responses:
           '200':
             description: OK

Choose to publish the documentation.
Open the published documentation and inspect the endpoint URLs.
Expected behavior
The published documentation should display:

GET https://api.example.com/availabilityclassifications/{classUnitType}/{classUnitCode}
but instead shows:

GET https://api.example.com/availabilityclassifications//

Deployment Type

Hoppscotch Cloud

Version

No response

Originally created by @Leon-Luu on GitHub (Feb 11, 2026). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/5860 Originally assigned to: @nivedin 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 When importing a valid OpenAPI 3.0 specification with path parameters into Hoppscotch and publishing the documentation, the generated endpoints in the published doc show missing variables. For example, instead of GET https://api.example.com/availabilityclassifications/{classUnitType}/{classUnitCode} the published documentation displays: GET https://api.example.com/availabilityclassifications// This happens for all methods on the path. <img width="1450" height="671" alt="Image" src="https://github.com/user-attachments/assets/6a6604a0-df98-4dd5-aa3c-f654a0d86365" /> **Steps to reproduce the behavior:** Import the OpenAPI spec below (or similar) to Hoppscotch: ``` openapi: 3.0.3 info: title: Example API version: 1.0.0 servers: - url: https://api.example.com paths: /availabilityclassifications/{classUnitType}/{classUnitCode}: parameters: - name: classUnitType in: path required: true schema: type: string - name: classUnitCode in: path required: true schema: type: string get: summary: Test responses: '200': description: OK ``` Choose to publish the documentation. Open the published documentation and inspect the endpoint URLs. Expected behavior The published documentation should display: GET https://api.example.com/availabilityclassifications/{classUnitType}/{classUnitCode} but instead shows: GET https://api.example.com/availabilityclassifications// ### Deployment Type Hoppscotch Cloud ### Version _No response_
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#2300
No description provided.