Swagger UI generates wrong Request URL #7996

Closed
opened 2025-12-29 20:31:00 +01:00 by adam · 1 comment
Owner

Originally created by @SignalR-Dev on GitHub (May 4, 2023).

NetBox version

v3.5.0

Python version

3.8

Steps to Reproduce

  1. Go to Swagger UI on the demo Page https://demo.netbox.dev/api/schema/swagger-ui/#/status/status_retrieve
  2. Try
  3. Execute

Expected Behavior

Get Request with the URL https://demo.netbox.dev/api/status/

Observed Behavior

Get Request with URL https://demo.netbox.dev/api**/api**/status/
which Results in an 404

There is an additional /api in the path

Originally created by @SignalR-Dev on GitHub (May 4, 2023). ### NetBox version v3.5.0 ### Python version 3.8 ### Steps to Reproduce 1. Go to Swagger UI on the demo Page `https://demo.netbox.dev/api/schema/swagger-ui/#/status/status_retrieve` 2. Try 3. Execute ### Expected Behavior Get Request with the URL https://demo.netbox.dev/api/status/ ### Observed Behavior Get Request with URL https://demo.netbox.dev/api**/api**/status/ which Results in an 404 There is an additional /api in the path
adam closed this issue 2025-12-29 20:31:00 +01:00
Author
Owner

@kkthxbye-code commented on GitHub (May 4, 2023):

Duplicate of https://github.com/netbox-community/netbox/issues/12410

@kkthxbye-code commented on GitHub (May 4, 2023): Duplicate of https://github.com/netbox-community/netbox/issues/12410
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#7996