[PR #3860] [MERGED] Fixes #1982: Swagger NAPALM documentation #12668

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/3860
Author: @hSaria
Created: 1/8/2020
Status: Merged
Merged: 1/9/2020
Merged by: @jeremystretch

Base: developHead: 1982-swagger-napalm


📝 Commits (3)

  • ea05b5b Fixes #1982: Swagger NAPALM documentation
  • 46c712e Moved NAPALM parameter to decorator
  • ad565e5 Removed exception for empty methods

📊 Changes

3 files changed (+16 additions, -0 deletions)

View changed files

📝 docs/release-notes/version-2.6.md (+1 -0)
📝 netbox/dcim/api/serializers.py (+4 -0)
📝 netbox/dcim/api/views.py (+11 -0)

📄 Description

Fixes: #1982

The NAPALM endpoint in Swagger is now documented. In addition, a call with no methods will raise an exception.


🔄 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/3860 **Author:** [@hSaria](https://github.com/hSaria) **Created:** 1/8/2020 **Status:** ✅ Merged **Merged:** 1/9/2020 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `develop` ← **Head:** `1982-swagger-napalm` --- ### 📝 Commits (3) - [`ea05b5b`](https://github.com/netbox-community/netbox/commit/ea05b5b60614940561931d52bd06e5f5735bfcf1) Fixes #1982: Swagger NAPALM documentation - [`46c712e`](https://github.com/netbox-community/netbox/commit/46c712e735702b27e79cf2a6019963212867616b) Moved NAPALM parameter to decorator - [`ad565e5`](https://github.com/netbox-community/netbox/commit/ad565e55f1ee9c1a975202f1d314f78e48a0718a) Removed exception for empty methods ### 📊 Changes **3 files changed** (+16 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `docs/release-notes/version-2.6.md` (+1 -0) 📝 `netbox/dcim/api/serializers.py` (+4 -0) 📝 `netbox/dcim/api/views.py` (+11 -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. IF YOUR PULL REQUEST DOES NOT REFERENCE AN ACCEPTED BUG REPORT OR FEATURE REQUEST, IT WILL BE MARKED AS INVALID AND CLOSED. --> ### Fixes: #1982 <ISSUE NUMBER GOES HERE> The NAPALM endpoint in Swagger is now documented. In addition, a call with no methods will raise an exception. --- <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:22:56 +01:00
adam closed this issue 2025-12-29 22:22: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#12668