[PR #12419] [MERGED] Fix OpenAPI schema base path #13968

Closed
opened 2025-12-29 23:21:48 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/12419
Author: @jeremystretch
Created: 5/1/2023
Status: Merged
Merged: 5/1/2023
Merged by: @jeremystretch

Base: developHead: 12410-openapi-fixes


📝 Commits (1)

  • 134cde0 Fix OpanAPI schema base path

📊 Changes

2 files changed (+7 additions, -16 deletions)

View changed files

📝 netbox/core/api/schema.py (+2 -13)
📝 netbox/netbox/settings.py (+5 -3)

📄 Description

Fixes: #12410

Removes the static api/ portion from the base URL for the OpenAPI schema generator.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netbox-community/netbox/pull/12419 **Author:** [@jeremystretch](https://github.com/jeremystretch) **Created:** 5/1/2023 **Status:** ✅ Merged **Merged:** 5/1/2023 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `develop` ← **Head:** `12410-openapi-fixes` --- ### 📝 Commits (1) - [`134cde0`](https://github.com/netbox-community/netbox/commit/134cde007991e0780575d14a3c6c502457f0fbc9) Fix OpanAPI schema base path ### 📊 Changes **2 files changed** (+7 additions, -16 deletions) <details> <summary>View changed files</summary> 📝 `netbox/core/api/schema.py` (+2 -13) 📝 `netbox/netbox/settings.py` (+5 -3) </details> ### 📄 Description ### Fixes: #12410 Removes the static `api/` portion from the base URL for the OpenAPI schema generator. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 23:21:48 +01:00
adam closed this issue 2025-12-29 23:21:49 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#13968