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:
|
||||
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
|
||||
type: number
|
||||
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:
|
||||
type: string
|
||||
description: Link to a preview image
|
||||
nullable: true
|
||||
tags:
|
||||
type: array
|
||||
description: Tags the article should have. If the tag does not exist, a new one is created automatically
|
||||
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:
|
||||
type: string
|
||||
description: The link name (last path of the url) which redirects to the article
|
||||
|
||||
Reference in New Issue
Block a user