1
Fork 0
mirror of https://github.com/pds-nest/nest.git synced 2024-11-21 20:44:18 +00:00

🔧 Use summary instead of description

This commit is contained in:
Stefano Pigozzi 2021-05-06 03:07:34 +02:00
parent cbe5783ac0
commit 7fd0441df4
Signed by untrusted user who does not match committer: steffo
GPG key ID: 6965406171929D01
4 changed files with 9 additions and 9 deletions

View file

@ -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:

View file

@ -11,7 +11,7 @@ def page_login():
"""
---
post:
description: Attempt login.
summary: Attempt login.
requestBody:
required: true
content:

View file

@ -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

View file

@ -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: