mirror of
https://github.com/notherealmarco/WASAPhoto.git
synced 2025-03-14 06:06:15 +01:00
Add maxItems everywhere
This commit is contained in:
parent
c0d7a7a1ee
commit
5b2f6ed9de
1 changed files with 5 additions and 0 deletions
|
@ -145,6 +145,7 @@ paths:
|
||||||
schema:
|
schema:
|
||||||
type: array
|
type: array
|
||||||
minItems: 0
|
minItems: 0
|
||||||
|
maxItems: 100
|
||||||
description: The list of users that the user is following.
|
description: The list of users that the user is following.
|
||||||
items:
|
items:
|
||||||
$ref: "#/components/schemas/uid_name"
|
$ref: "#/components/schemas/uid_name"
|
||||||
|
@ -344,6 +345,7 @@ paths:
|
||||||
schema:
|
schema:
|
||||||
type: array
|
type: array
|
||||||
minItems: 0
|
minItems: 0
|
||||||
|
maxItems: 100
|
||||||
description: An array of users liking the photo.
|
description: An array of users liking the photo.
|
||||||
items:
|
items:
|
||||||
$ref: "#/components/schemas/uid_name"
|
$ref: "#/components/schemas/uid_name"
|
||||||
|
@ -893,6 +895,7 @@ components:
|
||||||
user_photo_stream:
|
user_photo_stream:
|
||||||
type: array
|
type: array
|
||||||
minItems: 0
|
minItems: 0
|
||||||
|
maxItems: 100
|
||||||
description: An array of photos, upload time and likes.
|
description: An array of photos, upload time and likes.
|
||||||
items:
|
items:
|
||||||
$ref: "#/components/schemas/user_photo_stream_item"
|
$ref: "#/components/schemas/user_photo_stream_item"
|
||||||
|
@ -910,6 +913,7 @@ components:
|
||||||
photo_stream:
|
photo_stream:
|
||||||
type: array
|
type: array
|
||||||
minItems: 0
|
minItems: 0
|
||||||
|
maxItems: 100
|
||||||
description: An array of photos, author, upload time and likes.
|
description: An array of photos, author, upload time and likes.
|
||||||
items:
|
items:
|
||||||
$ref: "#/components/schemas/photo_stream_item"
|
$ref: "#/components/schemas/photo_stream_item"
|
||||||
|
@ -931,6 +935,7 @@ components:
|
||||||
comments:
|
comments:
|
||||||
type: array
|
type: array
|
||||||
minItems: 0
|
minItems: 0
|
||||||
|
maxItems: 100
|
||||||
description: An array of comments.
|
description: An array of comments.
|
||||||
items:
|
items:
|
||||||
$ref : "#/components/schemas/comment_item"
|
$ref : "#/components/schemas/comment_item"
|
||||||
|
|
Loading…
Reference in a new issue