diff --git a/code/backend/nest_backend/routes/repository/repository.py b/code/backend/nest_backend/routes/repository/repository.py index 069cca2..4205e81 100644 --- a/code/backend/nest_backend/routes/repository/repository.py +++ b/code/backend/nest_backend/routes/repository/repository.py @@ -13,7 +13,7 @@ def page_repository(rid): """ --- get: - description: Get details about a repository. + summary: Get details about a repository. parameters: - in: path schema: IntegerParameterSchema @@ -42,7 +42,7 @@ def page_repository(rid): tags: - repository-related delete: - description: Deletes a repository. + summary: Deletes a repository. parameters: - in: path schema: IntegerParameterSchema @@ -72,7 +72,7 @@ def page_repository(rid): tags: - repository-related patch: - description: Updates a repository. + summary: Updates a repository. requestBody: required: true content: diff --git a/code/backend/nest_backend/routes/users/login.py b/code/backend/nest_backend/routes/users/login.py index cb4640f..78e4ee4 100644 --- a/code/backend/nest_backend/routes/users/login.py +++ b/code/backend/nest_backend/routes/users/login.py @@ -11,7 +11,7 @@ def page_login(): """ --- post: - description: Attempt login. + summary: Attempt login. requestBody: required: true content: diff --git a/code/backend/nest_backend/routes/users/user.py b/code/backend/nest_backend/routes/users/user.py index 587ce0b..b44b3e0 100644 --- a/code/backend/nest_backend/routes/users/user.py +++ b/code/backend/nest_backend/routes/users/user.py @@ -11,7 +11,7 @@ def page_user(email): """ --- get: - description: Get details about a user. + summary: Get details about a user. parameters: - in: path schema: EmailParameterSchema @@ -40,7 +40,7 @@ def page_user(email): tags: - user-related delete: - description: Deletes a user. + summary: Deletes a user. parameters: - in: path schema: EmailParameterSchema @@ -77,7 +77,7 @@ def page_user(email): - user-related - admin-only patch: - description: Updates a user. + summary: Updates a user. parameters: - in: path schema: EmailParameterSchema diff --git a/code/backend/nest_backend/routes/users/users.py b/code/backend/nest_backend/routes/users/users.py index a99bf02..21c9e2f 100644 --- a/code/backend/nest_backend/routes/users/users.py +++ b/code/backend/nest_backend/routes/users/users.py @@ -11,7 +11,7 @@ def page_users(): """ --- get: - description: Get a list of users. + summary: Get a list of users. responses: '200': description: A list of User schemas, incapsulated in Success. @@ -29,7 +29,7 @@ def page_users(): - user-related - admin-only post: - description: Creates a user. + summary: Creates a user. requestBody: required: true content: