Added authors field to upload

This commit is contained in:
2022-01-21 22:50:17 +01:00
parent 4a0e75da98
commit 8aa1db2911

View File

@@ -168,6 +168,11 @@ paths:
summary: summary:
type: string type: string
description: A short overview summary of the article description: A short overview summary of the article
authors:
type: array
items:
$ref: '#/components/schemas/Author'
description: List of additional author who contributed to the article. The author which sends this request is automatically added as (main) author
image: image:
type: string type: string
description: Link to a preview image description: Link to a preview image
@@ -182,7 +187,6 @@ paths:
description: The article itself, formatted as markdown description: The article itself, formatted as markdown
security: security:
- cookie: [] - cookie: []
responses: responses:
201: 201:
description: The article was created description: The article was created