Skip to content

Commit

Permalink
feat: Allow Create functions for available prefix/ip to be used
Browse files Browse the repository at this point in the history
  • Loading branch information
amhn committed Sep 10, 2022
1 parent 635004e commit ef3c365
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@
*.out

# Dependency directories (remove the comment below to include it)
# vendor/
vendor/
38 changes: 38 additions & 0 deletions patchs/swagger-v3.2.9-available-ip.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
--- swagger/swagger-v3.2.9.json 2022-09-09 22:09:29.521598905 +0200
+++ swagger-v3.2.9.new.json 2022-09-09 22:09:29.933589719 +0200
@@ -55963,7 +55963,10 @@
"in" : "body",
"name" : "data",
"required" : true,
- "schema" : { "$ref" : "#/definitions/WritableAvailableIP" }
+ "schema" : {
+ "items" : { "$ref" : "#/definitions/WritableAvailableIP" },
+ "type" : "array"
+ }
} ],
"responses" : { "201" : {
"description" : "",
@@ -56771,7 +56774,10 @@
"in" : "body",
"name" : "data",
"required" : true,
- "schema" : { "$ref" : "#/definitions/WritableAvailableIP" }
+ "schema" : {
+ "items" : { "$ref" : "#/definitions/WritableAvailableIP" },
+ "type" : "array"
+ }
} ],
"responses" : { "201" : {
"description" : "",
@@ -56811,7 +56817,10 @@
"in" : "body",
"name" : "data",
"required" : true,
- "schema" : { "$ref" : "#/definitions/PrefixLength" }
+ "schema" : {
+ "items" : { "$ref" : "#/definitions/PrefixLength" },
+ "type" : "array"
+ }
} ],
"responses" : { "201" : {
"description" : "",

0 comments on commit ef3c365

Please sign in to comment.