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 a4ac295ada
commit cfe8169fc2
No known key found for this signature in database
GPG key ID: 185982BA4C42B7C3

View file

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