diff --git a/openapi.json b/openapi.json index 3c0c7ab..7f040f0 100644 --- a/openapi.json +++ b/openapi.json @@ -208,6 +208,52 @@ } }, "/api/users/{user_id}": { + "get": { + "tags": [ + "users", + "users" + ], + "summary": "Get User", + "operationId": "get_user_api_users__user_id__get", + "parameters": [ + { + "required": true, + "schema": { + "title": "User Id", + "type": "integer" + }, + "name": "user_id", + "in": "path" + } + ], + "responses": { + "200": { + "description": "Successful Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UserResponse" + } + } + } + }, + "422": { + "description": "Validation Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } + } + } + } + }, + "security": [ + { + "OAuth2PasswordBearer": [] + } + ] + }, "put": { "tags": [ "users",