mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-25 11:16:31 -05:00
Fixed Typos, removed unnecessary type: object
and fixed copy paste errors in descriptions Signed-off-by: Yannick Bungers <git@innay.de>
This commit is contained in:
parent
ea82479050
commit
fb29ab85bd
1 changed files with 7 additions and 11 deletions
|
@ -116,7 +116,7 @@ paths:
|
||||||
operationId: deleteHistoryObject
|
operationId: deleteHistoryObject
|
||||||
responses:
|
responses:
|
||||||
'204':
|
'204':
|
||||||
"$ref": "#/components/responses/SuccesfullyDeleted"
|
"$ref": "#/components/responses/SuccessfullyDeleted"
|
||||||
'401':
|
'401':
|
||||||
"$ref": "#/components/responses/UnauthorizedError"
|
"$ref": "#/components/responses/UnauthorizedError"
|
||||||
'404':
|
'404':
|
||||||
|
@ -203,7 +203,7 @@ paths:
|
||||||
- name: note
|
- name: note
|
||||||
in: path
|
in: path
|
||||||
required: true
|
required: true
|
||||||
description: The note for which the info should be shown.
|
description: The name of the note which is used to address it.
|
||||||
content:
|
content:
|
||||||
text/plain:
|
text/plain:
|
||||||
example: my-note
|
example: my-note
|
||||||
|
@ -240,7 +240,7 @@ paths:
|
||||||
- name: note
|
- name: note
|
||||||
in: path
|
in: path
|
||||||
required: true
|
required: true
|
||||||
description: The note for which the info should be shown.
|
description: The name of the note which is used to address it.
|
||||||
content:
|
content:
|
||||||
text/plain:
|
text/plain:
|
||||||
example: my-note
|
example: my-note
|
||||||
|
@ -251,7 +251,7 @@ paths:
|
||||||
operationId: deleteNote
|
operationId: deleteNote
|
||||||
responses:
|
responses:
|
||||||
'204':
|
'204':
|
||||||
"$ref": "#/components/responses/SuccesfullyDeleted"
|
"$ref": "#/components/responses/SuccessfullyDeleted"
|
||||||
'401':
|
'401':
|
||||||
"$ref": "#/components/responses/UnauthorizedError"
|
"$ref": "#/components/responses/UnauthorizedError"
|
||||||
'403':
|
'403':
|
||||||
|
@ -516,7 +516,6 @@ components:
|
||||||
properties:
|
properties:
|
||||||
userName:
|
userName:
|
||||||
type: string
|
type: string
|
||||||
format: UUIDv4
|
|
||||||
displayName:
|
displayName:
|
||||||
type: string
|
type: string
|
||||||
photo:
|
photo:
|
||||||
|
@ -638,7 +637,6 @@ components:
|
||||||
type: string
|
type: string
|
||||||
description: The markdown content of the note
|
description: The markdown content of the note
|
||||||
metadata:
|
metadata:
|
||||||
type: object
|
|
||||||
$ref: "#/components/schemas/NoteMetadata"
|
$ref: "#/components/schemas/NoteMetadata"
|
||||||
editedByAtPosition:
|
editedByAtPosition:
|
||||||
type: array
|
type: array
|
||||||
|
@ -690,7 +688,6 @@ components:
|
||||||
items:
|
items:
|
||||||
type: string
|
type: string
|
||||||
permissions:
|
permissions:
|
||||||
type: object
|
|
||||||
$ref: "#/components/schemas/NotePermissions"
|
$ref: "#/components/schemas/NotePermissions"
|
||||||
NotePermissions:
|
NotePermissions:
|
||||||
type: object
|
type: object
|
||||||
|
@ -828,7 +825,6 @@ components:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
metadata:
|
metadata:
|
||||||
type: object
|
|
||||||
$ref: "#/components/schemas/NoteMetadata"
|
$ref: "#/components/schemas/NoteMetadata"
|
||||||
pinned:
|
pinned:
|
||||||
type: boolean
|
type: boolean
|
||||||
|
@ -856,5 +852,5 @@ components:
|
||||||
description: Access to the requested resource is not permitted.
|
description: Access to the requested resource is not permitted.
|
||||||
NotFoundError:
|
NotFoundError:
|
||||||
description: The requested resource was not found.
|
description: The requested resource was not found.
|
||||||
SuccesfullyDeleted:
|
SuccessfullyDeleted:
|
||||||
description: The requested resource was sucessfully deleted.
|
description: The requested resource was sucessfully deleted.
|
||||||
|
|
Loading…
Reference in a new issue