get: tags: - Users security: - ApiKeyAuth: [] summary: Get users description: Returns list of the users responses: '200': description: List of the users content: application/json: schema: type: array items: $ref: ../schemas/User.yaml '400': $ref: ../responses/BadRequest.yaml '401': $ref: ../responses/Unauthorized.yaml '402': $ref: ../responses/PaymentRequired.yaml '500': $ref: ../responses/InternalError.yaml post: tags: - Users security: - ApiKeyAuth: [] summary: Create user description: Creates user requestBody: description: User fields required: true content: application/json: schema: $ref: ../schemas/UserRequest.yaml responses: '200': description: User details content: application/json: schema: $ref: ../schemas/User.yaml '400': $ref: ../responses/BadRequest.yaml '401': $ref: ../responses/Unauthorized.yaml '402': $ref: ../responses/PaymentRequired.yaml '406': $ref: ../responses/NotAcceptable.yaml '500': $ref: ../responses/InternalError.yaml