diff --git a/.gitignore b/.gitignore index 66fd13c9..839a56dc 100644 --- a/.gitignore +++ b/.gitignore @@ -12,4 +12,4 @@ *.out # Dependency directories (remove the comment below to include it) -# vendor/ +vendor/ diff --git a/patchs/swagger-v3.2.9-available-ip.patch b/patchs/swagger-v3.2.9-available-ip.patch new file mode 100644 index 00000000..9d383696 --- /dev/null +++ b/patchs/swagger-v3.2.9-available-ip.patch @@ -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" : "",