From b0d103f02a37ddf6d21d9b69c00ef34f5899cccd Mon Sep 17 00:00:00 2001 From: Wlad Date: Fri, 20 Nov 2020 21:57:14 +0100 Subject: [PATCH] fix geneeration issues --- openapi/components/parameters/fileLocation.yaml | 1 + openapi/components/parameters/filePath.yaml | 1 + openapi/components/parameters/profileIdentifier.yaml | 3 ++- openapi/components/parameters/systemCmdSource.yaml | 1 + openapi/components/parameters/username.yaml | 1 + openapi/paths/access/groups/{key}-delete.yaml | 1 + openapi/paths/access/groups/{key}-get.yaml | 1 + openapi/paths/access/groups/{key}-put.yaml | 1 + openapi/paths/languages/{locale}-{pack}-delete.yaml | 2 ++ openapi/paths/system/commands/{source}-{action}-post.yaml | 1 + 10 files changed, 12 insertions(+), 1 deletion(-) diff --git a/openapi/components/parameters/fileLocation.yaml b/openapi/components/parameters/fileLocation.yaml index 7d51302..3be1562 100644 --- a/openapi/components/parameters/fileLocation.yaml +++ b/openapi/components/parameters/fileLocation.yaml @@ -2,6 +2,7 @@ in: path name: location description: >- Retrieve information regarding the files currently available on the selected location and – if targeting the local location – regarding the disk space still available locally in the system. +required: true schema: type: string enum: diff --git a/openapi/components/parameters/filePath.yaml b/openapi/components/parameters/filePath.yaml index 89b6e1e..78ac0f6 100644 --- a/openapi/components/parameters/filePath.yaml +++ b/openapi/components/parameters/filePath.yaml @@ -2,6 +2,7 @@ in: path name: path description: >- The filename of the file for which to retrieve the information +required: true schema: type: string format: uri diff --git a/openapi/components/parameters/profileIdentifier.yaml b/openapi/components/parameters/profileIdentifier.yaml index d46014e..a7af435 100644 --- a/openapi/components/parameters/profileIdentifier.yaml +++ b/openapi/components/parameters/profileIdentifier.yaml @@ -1,4 +1,5 @@ in: path name: identifier description: >- - identifier of a given printer profile \ No newline at end of file + identifier of a given printer profile +required: true diff --git a/openapi/components/parameters/systemCmdSource.yaml b/openapi/components/parameters/systemCmdSource.yaml index 67ceadb..fd060f7 100644 --- a/openapi/components/parameters/systemCmdSource.yaml +++ b/openapi/components/parameters/systemCmdSource.yaml @@ -2,3 +2,4 @@ in: path name: source description: >- The source for which to list commands, currently either core or custom +required: true diff --git a/openapi/components/parameters/username.yaml b/openapi/components/parameters/username.yaml index 6dbb65b..6919e0a 100644 --- a/openapi/components/parameters/username.yaml +++ b/openapi/components/parameters/username.yaml @@ -2,5 +2,6 @@ in: path name: username description: >- Name of the user which to retrieve +required: true schema: type: string diff --git a/openapi/paths/access/groups/{key}-delete.yaml b/openapi/paths/access/groups/{key}-delete.yaml index c7a3099..b5bcacc 100644 --- a/openapi/paths/access/groups/{key}-delete.yaml +++ b/openapi/paths/access/groups/{key}-delete.yaml @@ -9,6 +9,7 @@ parameters: name: key description: >- The group’s identifier + required: true schema: type: string requestBody: diff --git a/openapi/paths/access/groups/{key}-get.yaml b/openapi/paths/access/groups/{key}-get.yaml index af5f662..9829786 100644 --- a/openapi/paths/access/groups/{key}-get.yaml +++ b/openapi/paths/access/groups/{key}-get.yaml @@ -9,6 +9,7 @@ parameters: name: key description: >- The group’s identifier + required: true schema: type: string responses: diff --git a/openapi/paths/access/groups/{key}-put.yaml b/openapi/paths/access/groups/{key}-put.yaml index afc0414..77e6bba 100644 --- a/openapi/paths/access/groups/{key}-put.yaml +++ b/openapi/paths/access/groups/{key}-put.yaml @@ -9,6 +9,7 @@ parameters: name: key description: >- The group’s identifier + required: true schema: type: string requestBody: diff --git a/openapi/paths/languages/{locale}-{pack}-delete.yaml b/openapi/paths/languages/{locale}-{pack}-delete.yaml index c793ade..85cf326 100644 --- a/openapi/paths/languages/{locale}-{pack}-delete.yaml +++ b/openapi/paths/languages/{locale}-{pack}-delete.yaml @@ -7,12 +7,14 @@ tags: parameters: - in: path name: locale + required: true schema: type: string description: >- The identifier of the command, action from its definition - in: path name: pack + required: true schema: type: string description: >- diff --git a/openapi/paths/system/commands/{source}-{action}-post.yaml b/openapi/paths/system/commands/{source}-{action}-post.yaml index ad70ece..36e45d5 100644 --- a/openapi/paths/system/commands/{source}-{action}-post.yaml +++ b/openapi/paths/system/commands/{source}-{action}-post.yaml @@ -8,6 +8,7 @@ parameters: - $ref: ../../../components/parameters/systemCmdSource.yaml - in: path name: action + required: true schema: type: string description: >-