[PR #2210] [MERGED] Adding Swagger settings to describe API authentication correctly. #12332

Closed
opened 2025-12-29 22:20:55 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/2210
Author: @eriktm
Created: 6/29/2018
Status: Merged
Merged: 7/2/2018
Merged by: @jeremystretch

Base: developHead: develop


📝 Commits (2)

  • 943ec0b Adding Swagger settings to describe API authentication correctly. Fixes #1826
  • c2c8a13 Merge branch 'develop' into develop

📊 Changes

1 file changed (+7 additions, -0 deletions)

View changed files

📝 netbox/netbox/settings.py (+7 -0)

📄 Description

Fixes: #1826

Adding security definitions to Swagger settings as per drf-yasg documentation.


🔄 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/2210 **Author:** [@eriktm](https://github.com/eriktm) **Created:** 6/29/2018 **Status:** ✅ Merged **Merged:** 7/2/2018 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `develop` ← **Head:** `develop` --- ### 📝 Commits (2) - [`943ec0b`](https://github.com/netbox-community/netbox/commit/943ec0b64b398f7b8c472842c1fd8e9985795c42) Adding Swagger settings to describe API authentication correctly. Fixes #1826 - [`c2c8a13`](https://github.com/netbox-community/netbox/commit/c2c8a139f36ead2148aa445b4f2b38cb31b0fc93) Merge branch 'develop' into develop ### 📊 Changes **1 file changed** (+7 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `netbox/netbox/settings.py` (+7 -0) </details> ### 📄 Description <!-- Thank you for your interest in contributing to NetBox! Please note that our contribution policy requires that a feature request or bug report be opened for approval prior to filing a pull request. This helps avoid wasting time and effort on something that we might not be able to accept. Please indicate the relevant feature request or bug report below. --> ### Fixes: #1826 <!-- Please include a summary of the proposed changes below. --> Adding security definitions to Swagger settings as per [drf-yasg](https://drf-yasg.readthedocs.io/en/stable/security.html) documentation. --- <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 22:20:55 +01:00
adam closed this issue 2025-12-29 22:20:56 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#12332