mirror of
https://github.com/pds-nest/nest.git
synced 2024-11-22 13:04:19 +00:00
🔧 Use summary instead of description
This commit is contained in:
parent
cbe5783ac0
commit
7fd0441df4
4 changed files with 9 additions and 9 deletions
|
@ -13,7 +13,7 @@ def page_repository(rid):
|
||||||
"""
|
"""
|
||||||
---
|
---
|
||||||
get:
|
get:
|
||||||
description: Get details about a repository.
|
summary: Get details about a repository.
|
||||||
parameters:
|
parameters:
|
||||||
- in: path
|
- in: path
|
||||||
schema: IntegerParameterSchema
|
schema: IntegerParameterSchema
|
||||||
|
@ -42,7 +42,7 @@ def page_repository(rid):
|
||||||
tags:
|
tags:
|
||||||
- repository-related
|
- repository-related
|
||||||
delete:
|
delete:
|
||||||
description: Deletes a repository.
|
summary: Deletes a repository.
|
||||||
parameters:
|
parameters:
|
||||||
- in: path
|
- in: path
|
||||||
schema: IntegerParameterSchema
|
schema: IntegerParameterSchema
|
||||||
|
@ -72,7 +72,7 @@ def page_repository(rid):
|
||||||
tags:
|
tags:
|
||||||
- repository-related
|
- repository-related
|
||||||
patch:
|
patch:
|
||||||
description: Updates a repository.
|
summary: Updates a repository.
|
||||||
requestBody:
|
requestBody:
|
||||||
required: true
|
required: true
|
||||||
content:
|
content:
|
||||||
|
|
|
@ -11,7 +11,7 @@ def page_login():
|
||||||
"""
|
"""
|
||||||
---
|
---
|
||||||
post:
|
post:
|
||||||
description: Attempt login.
|
summary: Attempt login.
|
||||||
requestBody:
|
requestBody:
|
||||||
required: true
|
required: true
|
||||||
content:
|
content:
|
||||||
|
|
|
@ -11,7 +11,7 @@ def page_user(email):
|
||||||
"""
|
"""
|
||||||
---
|
---
|
||||||
get:
|
get:
|
||||||
description: Get details about a user.
|
summary: Get details about a user.
|
||||||
parameters:
|
parameters:
|
||||||
- in: path
|
- in: path
|
||||||
schema: EmailParameterSchema
|
schema: EmailParameterSchema
|
||||||
|
@ -40,7 +40,7 @@ def page_user(email):
|
||||||
tags:
|
tags:
|
||||||
- user-related
|
- user-related
|
||||||
delete:
|
delete:
|
||||||
description: Deletes a user.
|
summary: Deletes a user.
|
||||||
parameters:
|
parameters:
|
||||||
- in: path
|
- in: path
|
||||||
schema: EmailParameterSchema
|
schema: EmailParameterSchema
|
||||||
|
@ -77,7 +77,7 @@ def page_user(email):
|
||||||
- user-related
|
- user-related
|
||||||
- admin-only
|
- admin-only
|
||||||
patch:
|
patch:
|
||||||
description: Updates a user.
|
summary: Updates a user.
|
||||||
parameters:
|
parameters:
|
||||||
- in: path
|
- in: path
|
||||||
schema: EmailParameterSchema
|
schema: EmailParameterSchema
|
||||||
|
|
|
@ -11,7 +11,7 @@ def page_users():
|
||||||
"""
|
"""
|
||||||
---
|
---
|
||||||
get:
|
get:
|
||||||
description: Get a list of users.
|
summary: Get a list of users.
|
||||||
responses:
|
responses:
|
||||||
'200':
|
'200':
|
||||||
description: A list of User schemas, incapsulated in Success.
|
description: A list of User schemas, incapsulated in Success.
|
||||||
|
@ -29,7 +29,7 @@ def page_users():
|
||||||
- user-related
|
- user-related
|
||||||
- admin-only
|
- admin-only
|
||||||
post:
|
post:
|
||||||
description: Creates a user.
|
summary: Creates a user.
|
||||||
requestBody:
|
requestBody:
|
||||||
required: true
|
required: true
|
||||||
content:
|
content:
|
||||||
|
|
Loading…
Reference in a new issue