Changed authors and tags request field from author schema
This commit is contained in:
10
api.yaml
10
api.yaml
@@ -269,17 +269,19 @@ components:
|
|||||||
authors:
|
authors:
|
||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
$ref: '#/components/schemas/Author'
|
type: number
|
||||||
description: List of additional author who contributed to the article. The author which sends this request is automatically added as (main) author
|
description: A author id
|
||||||
|
description: List of additional authors as id which 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
|
||||||
nullable: true
|
nullable: true
|
||||||
tags:
|
tags:
|
||||||
type: array
|
type: array
|
||||||
description: Tags the article should have. If the tag does not exist, a new one is created automatically
|
|
||||||
items:
|
items:
|
||||||
$ref: '#/components/schemas/Tag'
|
type: number
|
||||||
|
description: A tag id
|
||||||
|
description: Tags as id the article should have. If the tag does not exist, a new one is created automatically
|
||||||
link:
|
link:
|
||||||
type: string
|
type: string
|
||||||
description: The link name (last path of the url) which redirects to the article
|
description: The link name (last path of the url) which redirects to the article
|
||||||
|
|||||||
Reference in New Issue
Block a user