mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-29 00:04:30 -05:00
removed NewNote schema
This commit is contained in:
parent
78b2563693
commit
cc1e656b36
1 changed files with 2 additions and 12 deletions
|
@ -134,7 +134,7 @@ paths:
|
||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
"$ref": "#/components/schemas/NewNote"
|
"$ref": "#/components/schemas/Note"
|
||||||
/notes/{note}:
|
/notes/{note}:
|
||||||
get:
|
get:
|
||||||
tags:
|
tags:
|
||||||
|
@ -181,7 +181,7 @@ paths:
|
||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
"$ref": "#/components/schemas/NewNote"
|
"$ref": "#/components/schemas/Note"
|
||||||
409:
|
409:
|
||||||
description: This alias is already in use
|
description: This alias is already in use
|
||||||
parameters:
|
parameters:
|
||||||
|
@ -545,16 +545,6 @@ components:
|
||||||
properties:
|
properties:
|
||||||
openId:
|
openId:
|
||||||
type: string
|
type: string
|
||||||
NewNote:
|
|
||||||
type: object
|
|
||||||
properties:
|
|
||||||
id:
|
|
||||||
type: string
|
|
||||||
description: the id of the new note
|
|
||||||
format: UUIDv4
|
|
||||||
alias:
|
|
||||||
type: string
|
|
||||||
description: the alias with which the note should be accessed
|
|
||||||
ServerStatus:
|
ServerStatus:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
|
|
Loading…
Reference in a new issue