Skip to content

Commit

Permalink
feat: Update from Netbox 3.3 swagger
Browse files Browse the repository at this point in the history
  • Loading branch information
smutel committed Jan 9, 2023
1 parent 5243049 commit 6dba05d
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 1 deletion.
38 changes: 38 additions & 0 deletions patchs/swagger-v3.3.10-available-ip.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
--- swagger-v3.3.10.json.ori 2023-01-09 09:09:15.547864594 +0100
+++ swagger-v3.3.10.json 2023-01-09 09:12:53.698816281 +0100
@@ -60861,7 +60861,10 @@
"in" : "body",
"name" : "data",
"required" : true,
- "schema" : { "$ref" : "#/definitions/WritableAvailableIP" }
+ "schema" : {
+ "items" : { "$ref" : "#/definitions/WritableAvailableIP" },
+ "type" : "array"
+ }
} ],
"responses" : { "201" : {
"description" : "",
@@ -62988,7 +62991,10 @@
"in" : "body",
"name" : "data",
"required" : true,
- "schema" : { "$ref" : "#/definitions/WritableAvailableIP" }
+ "schema" : {
+ "items" : { "$ref" : "#/definitions/WritableAvailableIP" },
+ "type" : "array"
+ }
} ],
"responses" : { "201" : {
"description" : "",
@@ -63028,7 +63034,10 @@
"in" : "body",
"name" : "data",
"required" : true,
- "schema" : { "$ref" : "#/definitions/PrefixLength" }
+ "schema" : {
+ "items" : { "$ref" : "#/definitions/PrefixLength" },
+ "type" : "array"
+ }
} ],
"responses" : { "201" : {
"description" : "",
2 changes: 1 addition & 1 deletion utils/netbox_major_version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v3.2
v3.3

0 comments on commit 6dba05d

Please sign in to comment.