From 96fd9ef5bc66fee820ff9afa6a5655b6279fb6fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anne=20L=27H=C3=B4te?= Date: Tue, 9 Jan 2024 14:26:34 +0100 Subject: [PATCH] fix(openapi): Uniformize --- src/openapi/paths/apikeys/apikeys.yml | 4 +- src/openapi/paths/auth/recovery.yml | 2 +- src/openapi/paths/auth/signout.yml | 2 +- src/openapi/paths/categories/categories.yml | 4 +- src/openapi/paths/categories/identifiers.yml | 2 +- src/openapi/paths/documents/documents.yml | 2 +- src/openapi/paths/followups/followups.yml | 2 +- .../geographicalcategories.yml | 4 +- .../structures-from-categories.yml | 8 +- src/openapi/paths/groups/groups.yml | 4 +- src/openapi/paths/groups/members.yml | 4 +- src/openapi/paths/jobs/jobs.yml | 132 +----------------- src/openapi/paths/journals/journals.yml | 4 +- .../paths/legalcategories/legalcategories.yml | 4 +- .../paths/officialtexts/officialtexts.yml | 2 +- src/openapi/paths/persons/identifiers.yml | 2 +- src/openapi/paths/persons/persons.yml | 4 +- src/openapi/paths/press/press.yml | 2 +- src/openapi/paths/prizes/identifiers.yml | 2 +- src/openapi/paths/prizes/prizes.yml | 2 +- src/openapi/paths/projects/identifiers.yml | 2 +- src/openapi/paths/projects/localisations.yml | 2 +- src/openapi/paths/projects/projects.yml | 4 +- src/openapi/paths/relations/relations.yml | 4 +- .../paths/relationsgroups/relationsgroups.yml | 4 +- .../paths/relationtypes/relationtypes.yml | 4 +- .../paths/structures/localisations.yml | 2 +- src/openapi/paths/structures/structures.yml | 2 +- src/openapi/paths/terms/identifiers.yml | 2 +- src/openapi/paths/terms/terms.yml | 4 +- src/openapi/paths/users/me.yml | 10 +- src/openapi/paths/users/users.yml | 12 +- 32 files changed, 58 insertions(+), 186 deletions(-) diff --git a/src/openapi/paths/apikeys/apikeys.yml b/src/openapi/paths/apikeys/apikeys.yml index f5022b09..d332fe90 100644 --- a/src/openapi/paths/apikeys/apikeys.yml +++ b/src/openapi/paths/apikeys/apikeys.yml @@ -10,7 +10,7 @@ collectionMethods: - $ref: '../../api.yml#/components/parameters/sort' responses: '200': - description: Success + description: OK content: application/json: schema: @@ -21,7 +21,7 @@ collectionMethods: items: $ref: '../../api.yml#/components/schemas/ApiKey' totalCount: - type: number + type: integer '400': $ref: '../../api.yml#/components/responses/BadRequest' '401': diff --git a/src/openapi/paths/auth/recovery.yml b/src/openapi/paths/auth/recovery.yml index 5f81e199..ade10fa5 100644 --- a/src/openapi/paths/auth/recovery.yml +++ b/src/openapi/paths/auth/recovery.yml @@ -36,7 +36,7 @@ post: pattern: ^(?=.*[A-Za-z])(?=.*\d)(?=.*[!"#$%&'()*+,\-./:;<=>?@[\]^_`{|}~])[A-Za-z\d!"#$%&'()*+,\-./:;<=>?@[\]^_`{|}~]{8,}$ responses: '200': - description: Success + description: OK content: application/json: schema: diff --git a/src/openapi/paths/auth/signout.yml b/src/openapi/paths/auth/signout.yml index 9aab6eec..6bcdaf03 100644 --- a/src/openapi/paths/auth/signout.yml +++ b/src/openapi/paths/auth/signout.yml @@ -4,7 +4,7 @@ post: summary: Sign a user out responses: '204': - description: Success + description: OK content: application/json: schema: diff --git a/src/openapi/paths/categories/categories.yml b/src/openapi/paths/categories/categories.yml index a8fc9e3b..0d93c890 100644 --- a/src/openapi/paths/categories/categories.yml +++ b/src/openapi/paths/categories/categories.yml @@ -10,7 +10,7 @@ collectionMethods: - $ref: '../../api.yml#/components/parameters/sort' responses: '200': - description: Success + description: OK content: application/json: schema: @@ -21,7 +21,7 @@ collectionMethods: items: $ref: '../../api.yml#/components/schemas/Category' totalCount: - type: number + type: integer '400': $ref: '../../api.yml#/components/responses/BadRequest' '401': diff --git a/src/openapi/paths/categories/identifiers.yml b/src/openapi/paths/categories/identifiers.yml index d194197f..8debeead 100644 --- a/src/openapi/paths/categories/identifiers.yml +++ b/src/openapi/paths/categories/identifiers.yml @@ -80,7 +80,7 @@ documentMethods: - $ref: '../../api.yml#/components/parameters/identifierId' responses: '200': - description: Success + description: OK content: application/json: schema: diff --git a/src/openapi/paths/documents/documents.yml b/src/openapi/paths/documents/documents.yml index 6c15132e..a1d0b94b 100644 --- a/src/openapi/paths/documents/documents.yml +++ b/src/openapi/paths/documents/documents.yml @@ -73,7 +73,7 @@ documentMethods: - $ref: '../../api.yml#/components/parameters/documentId' responses: '200': - description: Success + description: OK content: application/json: schema: diff --git a/src/openapi/paths/followups/followups.yml b/src/openapi/paths/followups/followups.yml index 3b16b7cd..af92d6fb 100644 --- a/src/openapi/paths/followups/followups.yml +++ b/src/openapi/paths/followups/followups.yml @@ -70,7 +70,7 @@ documentMethods: - $ref: '../../api.yml#/components/parameters/followUpId' responses: '200': - description: Success + description: OK content: application/json: schema: diff --git a/src/openapi/paths/geographicalcategories/geographicalcategories.yml b/src/openapi/paths/geographicalcategories/geographicalcategories.yml index 478c8aff..5d084a80 100644 --- a/src/openapi/paths/geographicalcategories/geographicalcategories.yml +++ b/src/openapi/paths/geographicalcategories/geographicalcategories.yml @@ -10,7 +10,7 @@ collectionMethods: - $ref: '../../api.yml#/components/parameters/sort' responses: '200': - description: Success + description: OK content: application/json: schema: @@ -21,7 +21,7 @@ collectionMethods: items: $ref: '../../api.yml#/components/schemas/GeographicalCategory' totalCount: - type: number + type: integer '400': $ref: '../../api.yml#/components/responses/BadRequest' '401': diff --git a/src/openapi/paths/geographicalcategories/structures-from-categories.yml b/src/openapi/paths/geographicalcategories/structures-from-categories.yml index 5c173d15..0adb69f8 100644 --- a/src/openapi/paths/geographicalcategories/structures-from-categories.yml +++ b/src/openapi/paths/geographicalcategories/structures-from-categories.yml @@ -5,10 +5,10 @@ collectionMethods: - Geographical categories - Structures summary: List structures from a geographical category parameters: - - $ref: '../../api.yml#/components/parameters/filters' - - $ref: '../../api.yml#/components/parameters/skip' - - $ref: '../../api.yml#/components/parameters/limit' - - $ref: '../../api.yml#/components/parameters/sort' + - $ref: '../../api.yml#/components/parameters/filters' + - $ref: '../../api.yml#/components/parameters/skip' + - $ref: '../../api.yml#/components/parameters/limit' + - $ref: '../../api.yml#/components/parameters/sort' responses: '200': description: OK diff --git a/src/openapi/paths/groups/groups.yml b/src/openapi/paths/groups/groups.yml index 9b43ee72..765a1b08 100644 --- a/src/openapi/paths/groups/groups.yml +++ b/src/openapi/paths/groups/groups.yml @@ -10,7 +10,7 @@ collectionMethods: - $ref: '../../api.yml#/components/parameters/sort' responses: '200': - description: Success + description: OK content: application/json: schema: @@ -21,7 +21,7 @@ collectionMethods: items: $ref: '../../api.yml#/components/schemas/Group' totalCount: - type: number + type: integer '400': $ref: '../../api.yml#/components/responses/BadRequest' '401': diff --git a/src/openapi/paths/groups/members.yml b/src/openapi/paths/groups/members.yml index 3c1c182e..ca9bb07a 100644 --- a/src/openapi/paths/groups/members.yml +++ b/src/openapi/paths/groups/members.yml @@ -10,7 +10,7 @@ collectionMethods: - $ref: '../../api.yml#/components/parameters/sort' responses: '200': - description: Success + description: OK content: application/json: schema: @@ -21,7 +21,7 @@ collectionMethods: items: $ref: '../../api.yml#/components/schemas/GroupMember' totalCount: - type: number + type: integer '400': $ref: '../../api.yml#/components/responses/BadRequest' '401': diff --git a/src/openapi/paths/jobs/jobs.yml b/src/openapi/paths/jobs/jobs.yml index ef083b7c..33fe170e 100644 --- a/src/openapi/paths/jobs/jobs.yml +++ b/src/openapi/paths/jobs/jobs.yml @@ -10,7 +10,7 @@ collectionMethods: - $ref: '../../api.yml#/components/parameters/sort' responses: '200': - description: Success + description: OK content: application/json: schema: @@ -21,7 +21,7 @@ collectionMethods: aggregations: type: object totalCount: - type: number + type: integer '400': $ref: '../../api.yml#/components/responses/BadRequest' '401': @@ -30,131 +30,3 @@ collectionMethods: $ref: '../../api.yml#/components/responses/Forbidden' '500': $ref: '../../api.yml#/components/responses/ServerError' - -# post: -# tags: -# - Job -# summary: Create a new person -# requestBody: -# content: -# application/json: -# schema: -# title: CreatePerson -# type: object -# required: -# - lastName -# allOf: -# - $ref: '../../api.yml#/components/schemas/PersonBulkInsertPayload' -# responses: -# '201': -# description: Created -# content: -# application/json: -# schema: -# $ref: '../../api.yml#/components/schemas/Person' -# '400': -# $ref: '../../api.yml#/components/responses/BadRequest' -# '401': -# $ref: '../../api.yml#/components/responses/Unauthorized' -# '403': -# $ref: '../../api.yml#/components/responses/Forbidden' -# '500': -# $ref: '../../api.yml#/components/responses/ServerError' - -# documentMethods: -# get: -# tags: -# - Persons -# summary: Get a person by ID -# parameters: -# - $ref: '../../api.yml#/components/parameters/personId' -# responses: -# '200': -# description: OK -# content: -# application/json: -# schema: -# $ref: '../../api.yml#/components/schemas/Person' -# '401': -# $ref: '../../api.yml#/components/responses/Unauthorized' -# '403': -# $ref: '../../api.yml#/components/responses/Forbidden' -# '404': -# $ref: '../../api.yml#/components/responses/NotFound' -# '500': -# $ref: '../../api.yml#/components/responses/ServerError' - - -# patch: -# tags: -# - Persons -# summary: Update a person by ID -# parameters: -# - $ref: '../../api.yml#/components/parameters/personId' -# requestBody: -# content: -# application/json: -# schema: -# $ref: '../../api.yml#/components/schemas/PersonPayload' -# responses: -# '200': -# description: OK -# content: -# application/json: -# schema: -# $ref: '../../api.yml#/components/schemas/Person' -# '400': -# $ref: '../../api.yml#/components/responses/BadRequest' -# '401': -# $ref: '../../api.yml#/components/responses/Unauthorized' -# '403': -# $ref: '../../api.yml#/components/responses/Forbidden' -# '404': -# $ref: '../../api.yml#/components/responses/NotFound' -# '500': -# $ref: '../../api.yml#/components/responses/ServerError' - -# delete: -# tags: -# - Persons -# summary: Delete a person by ID -# parameters: -# - $ref: '../../api.yml#/components/parameters/personId' -# responses: -# '204': -# description: No content -# '401': -# $ref: '../../api.yml#/components/responses/Unauthorized' -# '403': -# $ref: '../../api.yml#/components/responses/Forbidden' -# '404': -# $ref: '../../api.yml#/components/responses/NotFound' -# '500': -# $ref: '../../api.yml#/components/responses/ServerError' - -# put: -# tags: -# - Persons -# summary: Create a new person with ID -# parameters: -# - $ref: '../../api.yml#/components/parameters/personId' -# requestBody: -# content: -# application/json: -# schema: -# $ref: '../../api.yml#/components/schemas/PersonPayload' -# responses: -# '201': -# description: Created -# content: -# application/json: -# schema: -# $ref: '../../api.yml#/components/schemas/Person' -# '400': -# $ref: '../../api.yml#/components/responses/BadRequest' -# '401': -# $ref: '../../api.yml#/components/responses/Unauthorized' -# '403': -# $ref: '../../api.yml#/components/responses/Forbidden' -# '500': -# $ref: '../../api.yml#/components/responses/ServerError' diff --git a/src/openapi/paths/journals/journals.yml b/src/openapi/paths/journals/journals.yml index 724c90db..06b701f2 100644 --- a/src/openapi/paths/journals/journals.yml +++ b/src/openapi/paths/journals/journals.yml @@ -10,7 +10,7 @@ collectionMethods: - $ref: '../../api.yml#/components/parameters/sort' responses: '200': - description: Success + description: OK content: application/json: schema: @@ -21,7 +21,7 @@ collectionMethods: items: type: object totalCount: - type: number + type: integer '400': $ref: '../../api.yml#/components/responses/BadRequest' '401': diff --git a/src/openapi/paths/legalcategories/legalcategories.yml b/src/openapi/paths/legalcategories/legalcategories.yml index 69d8d1c3..78f1bd62 100644 --- a/src/openapi/paths/legalcategories/legalcategories.yml +++ b/src/openapi/paths/legalcategories/legalcategories.yml @@ -10,7 +10,7 @@ collectionMethods: - $ref: '../../api.yml#/components/parameters/sort' responses: '200': - description: Success + description: OK content: application/json: schema: @@ -21,7 +21,7 @@ collectionMethods: items: $ref: '../../api.yml#/components/schemas/LegalCategory' totalCount: - type: number + type: integer '400': $ref: '../../api.yml#/components/responses/BadRequest' '401': diff --git a/src/openapi/paths/officialtexts/officialtexts.yml b/src/openapi/paths/officialtexts/officialtexts.yml index 41887949..0efecfc9 100644 --- a/src/openapi/paths/officialtexts/officialtexts.yml +++ b/src/openapi/paths/officialtexts/officialtexts.yml @@ -21,7 +21,7 @@ collectionMethods: items: $ref: '../../api.yml#/components/schemas/OfficialText' totalCount: - type: number + type: integer '400': $ref: '../../api.yml#/components/responses/BadRequest' '401': diff --git a/src/openapi/paths/persons/identifiers.yml b/src/openapi/paths/persons/identifiers.yml index bf3fe95a..4440d237 100644 --- a/src/openapi/paths/persons/identifiers.yml +++ b/src/openapi/paths/persons/identifiers.yml @@ -80,7 +80,7 @@ documentMethods: - $ref: '../../api.yml#/components/parameters/identifierId' responses: '200': - description: Success + description: OK content: application/json: schema: diff --git a/src/openapi/paths/persons/persons.yml b/src/openapi/paths/persons/persons.yml index 09043fa6..975db63c 100644 --- a/src/openapi/paths/persons/persons.yml +++ b/src/openapi/paths/persons/persons.yml @@ -10,7 +10,7 @@ collectionMethods: - $ref: '../../api.yml#/components/parameters/sort' responses: '200': - description: Success + description: OK content: application/json: schema: @@ -21,7 +21,7 @@ collectionMethods: items: $ref: '../../api.yml#/components/schemas/Person' totalCount: - type: number + type: integer '400': $ref: '../../api.yml#/components/responses/BadRequest' '401': diff --git a/src/openapi/paths/press/press.yml b/src/openapi/paths/press/press.yml index 2effd1a9..5b01a96d 100644 --- a/src/openapi/paths/press/press.yml +++ b/src/openapi/paths/press/press.yml @@ -72,7 +72,7 @@ documentMethods: - $ref: '../../api.yml#/components/parameters/pressId' responses: '200': - description: Success + description: OK content: application/json: schema: diff --git a/src/openapi/paths/prizes/identifiers.yml b/src/openapi/paths/prizes/identifiers.yml index 77303f11..f0c48f0e 100644 --- a/src/openapi/paths/prizes/identifiers.yml +++ b/src/openapi/paths/prizes/identifiers.yml @@ -80,7 +80,7 @@ documentMethods: - $ref: '../../api.yml#/components/parameters/identifierId' responses: '200': - description: Success + description: OK content: application/json: schema: diff --git a/src/openapi/paths/prizes/prizes.yml b/src/openapi/paths/prizes/prizes.yml index 8d77c6b2..5e2d4da7 100644 --- a/src/openapi/paths/prizes/prizes.yml +++ b/src/openapi/paths/prizes/prizes.yml @@ -68,7 +68,7 @@ documentMethods: - $ref: '../../api.yml#/components/parameters/prizeId' responses: '200': - description: Success + description: OK content: application/json: schema: diff --git a/src/openapi/paths/projects/identifiers.yml b/src/openapi/paths/projects/identifiers.yml index 2503cb6b..c625f59e 100644 --- a/src/openapi/paths/projects/identifiers.yml +++ b/src/openapi/paths/projects/identifiers.yml @@ -80,7 +80,7 @@ documentMethods: - $ref: '../../api.yml#/components/parameters/identifierId' responses: '200': - description: Success + description: OK content: application/json: schema: diff --git a/src/openapi/paths/projects/localisations.yml b/src/openapi/paths/projects/localisations.yml index 8486189c..3da6f9ae 100644 --- a/src/openapi/paths/projects/localisations.yml +++ b/src/openapi/paths/projects/localisations.yml @@ -22,7 +22,7 @@ collectionMethods: items: $ref: '../../api.yml#/components/schemas/Localisation' totalCount: - type: number + type: integer '400': $ref: '../../api.yml#/components/responses/BadRequest' '401': diff --git a/src/openapi/paths/projects/projects.yml b/src/openapi/paths/projects/projects.yml index bbb41a41..868c3626 100644 --- a/src/openapi/paths/projects/projects.yml +++ b/src/openapi/paths/projects/projects.yml @@ -10,7 +10,7 @@ collectionMethods: - $ref: '../../api.yml#/components/parameters/sort' responses: '200': - description: Success + description: OK content: application/json: schema: @@ -21,7 +21,7 @@ collectionMethods: items: $ref: '../../api.yml#/components/schemas/Project' totalCount: - type: number + type: integer '400': $ref: '../../api.yml#/components/responses/BadRequest' '401': diff --git a/src/openapi/paths/relations/relations.yml b/src/openapi/paths/relations/relations.yml index 2ed02e68..3a166fd9 100644 --- a/src/openapi/paths/relations/relations.yml +++ b/src/openapi/paths/relations/relations.yml @@ -10,7 +10,7 @@ collectionMethods: - $ref: '../../api.yml#/components/parameters/sort' responses: '200': - description: Success + description: OK content: application/json: schema: @@ -21,7 +21,7 @@ collectionMethods: items: $ref: '../../api.yml#/components/schemas/Relation' totalCount: - type: number + type: integer '400': $ref: '../../api.yml#/components/responses/BadRequest' '401': diff --git a/src/openapi/paths/relationsgroups/relationsgroups.yml b/src/openapi/paths/relationsgroups/relationsgroups.yml index af44970c..4d2543de 100644 --- a/src/openapi/paths/relationsgroups/relationsgroups.yml +++ b/src/openapi/paths/relationsgroups/relationsgroups.yml @@ -10,7 +10,7 @@ collectionMethods: - $ref: '../../api.yml#/components/parameters/sort' responses: '200': - description: Success + description: OK content: application/json: schema: @@ -21,7 +21,7 @@ collectionMethods: items: $ref: '../../api.yml#/components/schemas/RelationsGroup' totalCount: - type: number + type: integer '400': $ref: '../../api.yml#/components/responses/BadRequest' '401': diff --git a/src/openapi/paths/relationtypes/relationtypes.yml b/src/openapi/paths/relationtypes/relationtypes.yml index 3575c8a5..4d6917d9 100644 --- a/src/openapi/paths/relationtypes/relationtypes.yml +++ b/src/openapi/paths/relationtypes/relationtypes.yml @@ -10,7 +10,7 @@ collectionMethods: - $ref: '../../api.yml#/components/parameters/sort' responses: '200': - description: Success + description: OK content: application/json: schema: @@ -21,7 +21,7 @@ collectionMethods: items: $ref: '../../api.yml#/components/schemas/RelationType' totalCount: - type: number + type: integer '400': $ref: '../../api.yml#/components/responses/BadRequest' '401': diff --git a/src/openapi/paths/structures/localisations.yml b/src/openapi/paths/structures/localisations.yml index 9752eb40..f73acdd3 100644 --- a/src/openapi/paths/structures/localisations.yml +++ b/src/openapi/paths/structures/localisations.yml @@ -22,7 +22,7 @@ collectionMethods: items: $ref: '../../api.yml#/components/schemas/Localisation' totalCount: - type: number + type: integer '400': $ref: '../../api.yml#/components/responses/BadRequest' '401': diff --git a/src/openapi/paths/structures/structures.yml b/src/openapi/paths/structures/structures.yml index 211c28b9..f1f73df4 100644 --- a/src/openapi/paths/structures/structures.yml +++ b/src/openapi/paths/structures/structures.yml @@ -70,7 +70,7 @@ documentMethods: - $ref: '../../api.yml#/components/parameters/structureId' responses: '200': - description: Success + description: OK content: application/json: schema: diff --git a/src/openapi/paths/terms/identifiers.yml b/src/openapi/paths/terms/identifiers.yml index f0bc2673..8558e01f 100644 --- a/src/openapi/paths/terms/identifiers.yml +++ b/src/openapi/paths/terms/identifiers.yml @@ -80,7 +80,7 @@ documentMethods: - $ref: '../../api.yml#/components/parameters/identifierId' responses: '200': - description: Success + description: OK content: application/json: schema: diff --git a/src/openapi/paths/terms/terms.yml b/src/openapi/paths/terms/terms.yml index b073505f..bc2e8016 100644 --- a/src/openapi/paths/terms/terms.yml +++ b/src/openapi/paths/terms/terms.yml @@ -10,7 +10,7 @@ collectionMethods: - $ref: '../../api.yml#/components/parameters/sort' responses: '200': - description: Success + description: OK content: application/json: schema: @@ -21,7 +21,7 @@ collectionMethods: items: $ref: '../../api.yml#/components/schemas/Term' totalCount: - type: number + type: integer '400': $ref: '../../api.yml#/components/responses/BadRequest' '401': diff --git a/src/openapi/paths/users/me.yml b/src/openapi/paths/users/me.yml index 769fed82..68d1b23e 100644 --- a/src/openapi/paths/users/me.yml +++ b/src/openapi/paths/users/me.yml @@ -5,7 +5,7 @@ Me: summary: Get current user data responses: '200': - description: Success + description: OK content: application/json: schema: @@ -30,7 +30,7 @@ Me: type: string responses: '200': - description: Success + description: OK content: application/json: schema: @@ -70,7 +70,7 @@ Avatar: format: binary responses: '200': - description: Success + description: OK content: application/json: schema: @@ -86,7 +86,7 @@ Avatar: summary: Delete user avatar responses: '200': - description: Success + description: OK content: application/json: schema: @@ -118,7 +118,7 @@ Password: pattern: ^(?=.*[A-Za-z])(?=.*\d)(?=.*[!"#$%&'()*+,\-./:;<=>?@[\]^_`{|}~])[A-Za-z\d!"#$%&'()*+,\-./:;<=>?@[\]^_`{|}~]{8,}$ responses: '200': - description: Success + description: OK content: application/json: schema: diff --git a/src/openapi/paths/users/users.yml b/src/openapi/paths/users/users.yml index 06bdce02..2e60c076 100644 --- a/src/openapi/paths/users/users.yml +++ b/src/openapi/paths/users/users.yml @@ -10,7 +10,7 @@ collectionMethods: - $ref: ../../api.yml#/components/parameters/sort responses: '200': - description: Success + description: OK content: application/json: schema: @@ -21,7 +21,7 @@ collectionMethods: items: $ref: '../../api.yml#/components/schemas/User' totalCount: - type: number + type: integer '401': $ref: '../../api.yml#/components/responses/Unauthorized' '500': @@ -39,7 +39,7 @@ collectionAdminMethods: - $ref: ../../api.yml#/components/parameters/sort responses: '200': - description: Success + description: OK content: application/json: schema: @@ -50,7 +50,7 @@ collectionAdminMethods: items: $ref: '../../api.yml#/components/schemas/UserAdmin' totalCount: - type: number + type: integer '401': $ref: '../../api.yml#/components/responses/Unauthorized' '500': @@ -89,7 +89,7 @@ documentAdminMethods: $ref: ../../api.yml#/components/schemas/UserAdminPayload responses: '200': - description: Success + description: OK content: application/json: schema: @@ -114,7 +114,7 @@ documentAdminConfirmMethod: - $ref: ../../api.yml#/components/parameters/userId responses: '200': - description: Success + description: OK content: application/json: schema: