Stripped down response messages

This commit is contained in:
2022-01-21 23:46:47 +01:00
parent 469e8d5da8
commit ed7c7fbdbb

View File

@@ -172,16 +172,8 @@ paths:
$ref: '#/components/schemas/ArticleSummary'
401:
description: Not authorized
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
409:
description: A article with the same title already exists
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
/api/edit:
post:
@@ -203,16 +195,8 @@ paths:
$ref: '#/components/schemas/ArticleSummary'
401:
description: Not authorized
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
409:
description: A article with the same title already exists
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
/api/delete:
post:
@@ -234,10 +218,8 @@ paths:
description: The article was deleted
401:
description: Not authorized
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
404:
description: Article was not found
/api/tag:
post:
@@ -263,10 +245,8 @@ paths:
$ref: '#/components/schemas/Tag'
401:
description: Not authorized
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
409:
description: A tag with the same name already exists
components:
schemas: