mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-18 09:04:44 -04:00
removed NewNote schema
This commit is contained in:
parent
abe38fa6be
commit
050e43576d
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…
Add table
Add a link
Reference in a new issue