Merge pull request #48049 from thaJeztah/fix_swagger_tmpfsopts

api: swagger: fix definition of TmpFsOptions (API v1.46)
This commit is contained in:
Paweł Gronowski
2024-06-21 12:22:26 +02:00
committed by GitHub
2 changed files with 10 additions and 16 deletions

View File

@@ -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"]]

View File

@@ -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"]]