diff --git a/api/swagger.yaml b/api/swagger.yaml index d740c9b227..cc754bf1fd 100644 --- a/api/swagger.yaml +++ b/api/swagger.yaml @@ -449,15 +449,12 @@ definitions: should be provided as as 2-length arrays, where the first item is the key and the second the value. type: "array" - properties: + items: + type: "array" + minItems: 1 + maxItems: 2 items: - type: "array" - items: - type: "array" - minItems: 1 - maxItems: 2 - items: - type: "string" + type: "string" example: [["noexec"]] diff --git a/docs/api/v1.46.yaml b/docs/api/v1.46.yaml index d740c9b227..cc754bf1fd 100644 --- a/docs/api/v1.46.yaml +++ b/docs/api/v1.46.yaml @@ -449,15 +449,12 @@ definitions: should be provided as as 2-length arrays, where the first item is the key and the second the value. type: "array" - properties: + items: + type: "array" + minItems: 1 + maxItems: 2 items: - type: "array" - items: - type: "array" - minItems: 1 - maxItems: 2 - items: - type: "string" + type: "string" example: [["noexec"]]