Public API: NoteRevisionsMetadata is not an array

Signed-off-by: David Mehren <git@herrmehren.de>
Co-authored-by: Yannick Bungers <git@innay.de>
This commit is contained in:
David Mehren 2020-10-24 19:39:05 +02:00
parent 2302667787
commit d43bca69b8
No known key found for this signature in database
GPG key ID: 185982BA4C42B7C3

View file

@ -389,6 +389,8 @@ paths:
content: content:
application/json: application/json:
schema: schema:
type: array
items:
"$ref": "#/components/schemas/NoteRevisionsMetadata" "$ref": "#/components/schemas/NoteRevisionsMetadata"
'401': '401':
"$ref": "#/components/responses/UnauthorizedError" "$ref": "#/components/responses/UnauthorizedError"
@ -768,8 +770,6 @@ components:
canEdit: canEdit:
type: boolean type: boolean
NoteRevisionsMetadata: NoteRevisionsMetadata:
type: array
items:
type: object type: object
properties: properties:
id: id: