[PR #17392] [MERGED] 17066 fix put/patch for Script OpenAPI docs #15086

Closed
opened 2025-12-30 00:19:53 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/17392
Author: @arthanson
Created: 9/6/2024
Status: Merged
Merged: 9/9/2024
Merged by: @jeremystretch

Base: developHead: 17066-script-api


📝 Commits (1)

  • b37c3ac 17066 fix put/patch for Script OpenAPI docs

📊 Changes

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

View changed files

📝 netbox/extras/api/views.py (+5 -0)

📄 Description

Fixes: #17066

For PUT and PATCH requests return the ScriptInputSerializer for OpenAPI docs:

NetBox REST API 2024-09-05 15-11-59


🔄 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/17392 **Author:** [@arthanson](https://github.com/arthanson) **Created:** 9/6/2024 **Status:** ✅ Merged **Merged:** 9/9/2024 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `develop` ← **Head:** `17066-script-api` --- ### 📝 Commits (1) - [`b37c3ac`](https://github.com/netbox-community/netbox/commit/b37c3ac23c425fdc13ffcfcf16e60f4fc2de7768) 17066 fix put/patch for Script OpenAPI docs ### 📊 Changes **1 file changed** (+5 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `netbox/extras/api/views.py` (+5 -0) </details> ### 📄 Description ### Fixes: #17066 For PUT and PATCH requests return the ScriptInputSerializer for OpenAPI docs: ![NetBox REST API 2024-09-05 15-11-59](https://github.com/user-attachments/assets/0acf4ab5-080b-43fd-b498-db0b52f69280) --- <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-30 00:19:53 +01:00
adam closed this issue 2025-12-30 00:19:53 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#15086