[PR #4718] [MERGED] Fixes #4674 - Fix available-ips and available-prefixes swagger definitions #12906

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/4718
Author: @DanSheps
Created: 6/4/2020
Status: Merged
Merged: 6/8/2020
Merged by: @jeremystretch

Base: developHead: 4674-drf_yasg_definitions


📝 Commits (2)

  • 927c012 #4674 - Fix available-ips and available-prefixes swagger definitions
  • 5330914 #4674 - Correct many=False to many=True on the response serializers

📊 Changes

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

View changed files

📝 netbox/ipam/api/views.py (+5 -12)

📄 Description

Fixes: #4674

Modifies the swagger definitions for the post and get methods to provide proper return codes and body serializer for post methods.


🔄 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/4718 **Author:** [@DanSheps](https://github.com/DanSheps) **Created:** 6/4/2020 **Status:** ✅ Merged **Merged:** 6/8/2020 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `develop` ← **Head:** `4674-drf_yasg_definitions` --- ### 📝 Commits (2) - [`927c012`](https://github.com/netbox-community/netbox/commit/927c012fc9f8b625642aeecabd5989bb909f6c3c) #4674 - Fix available-ips and available-prefixes swagger definitions - [`5330914`](https://github.com/netbox-community/netbox/commit/5330914431a0367ab6e65205b6edcf0daa0c6549) #4674 - Correct many=False to many=True on the response serializers ### 📊 Changes **1 file changed** (+5 additions, -12 deletions) <details> <summary>View changed files</summary> 📝 `netbox/ipam/api/views.py` (+5 -12) </details> ### 📄 Description ### Fixes: #4674 Modifies the swagger definitions for the post and get methods to provide proper return codes and body serializer for post methods. --- <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:24:18 +01:00
adam closed this issue 2025-12-29 22:24:18 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#12906