mirror of https://github.com/Chocobozzz/PeerTube
Specify the restrictions on tags array and it's string items (#2016)
* Fixed 2 typos * Specify tags array restrictionspull/2027/head
parent
322adef183
commit
07d02f6de8
|
@ -863,8 +863,12 @@ paths:
|
||||||
tags:
|
tags:
|
||||||
description: Video tags (maximum 5 tags each between 2 and 30 characters)
|
description: Video tags (maximum 5 tags each between 2 and 30 characters)
|
||||||
type: array
|
type: array
|
||||||
|
minItems: 1
|
||||||
|
maxItems: 5
|
||||||
items:
|
items:
|
||||||
type: string
|
type: string
|
||||||
|
minLength: 2
|
||||||
|
maxLength: 30
|
||||||
commentsEnabled:
|
commentsEnabled:
|
||||||
description: Enable or disable comments for this video
|
description: Enable or disable comments for this video
|
||||||
type: string
|
type: string
|
||||||
|
@ -1055,10 +1059,14 @@ paths:
|
||||||
description: Video name
|
description: Video name
|
||||||
type: string
|
type: string
|
||||||
tags:
|
tags:
|
||||||
description: Video tags
|
description: Video tags (maximum 5 tags each between 2 and 30 characters)
|
||||||
type: array
|
type: array
|
||||||
|
minItems: 1
|
||||||
|
maxItems: 5
|
||||||
items:
|
items:
|
||||||
type: string
|
type: string
|
||||||
|
minLength: 2
|
||||||
|
maxLength: 30
|
||||||
commentsEnabled:
|
commentsEnabled:
|
||||||
description: Enable or disable comments for this video
|
description: Enable or disable comments for this video
|
||||||
type: string
|
type: string
|
||||||
|
@ -1164,10 +1172,14 @@ paths:
|
||||||
description: Video name
|
description: Video name
|
||||||
type: string
|
type: string
|
||||||
tags:
|
tags:
|
||||||
description: Video tags
|
description: Video tags (maximum 5 tags each between 2 and 30 characters)
|
||||||
type: array
|
type: array
|
||||||
|
minItems: 1
|
||||||
|
maxItems: 5
|
||||||
items:
|
items:
|
||||||
type: string
|
type: string
|
||||||
|
minLength: 2
|
||||||
|
maxLength: 30
|
||||||
commentsEnabled:
|
commentsEnabled:
|
||||||
description: Enable or disable comments for this video
|
description: Enable or disable comments for this video
|
||||||
type: string
|
type: string
|
||||||
|
|
Loading…
Reference in New Issue