Added authors field to upload
This commit is contained in:
6
api.yaml
6
api.yaml
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user