diff --git a/openapi/resident_openapi.yaml b/openapi/resident_openapi.yaml index 92ed856..6cbd299 100644 --- a/openapi/resident_openapi.yaml +++ b/openapi/resident_openapi.yaml @@ -28,6 +28,12 @@ paths: type: array items: $ref: '#/components/schemas/Resident' + "401": + description: Unauthorized + content: + text/plain: + schema: + type: string /residents/search: get: operationId: getResidentsSearch @@ -57,6 +63,18 @@ paths: type: array items: $ref: '#/components/schemas/Resident' + "401": + description: Unauthorized + content: + text/plain: + schema: + type: string + "400": + description: Bad request + content: + text/plain: + schema: + type: string components: schemas: SearchField: