mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-25 03:06:31 -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:
|
||||
application/json:
|
||||
schema:
|
||||
"$ref": "#/components/schemas/NewNote"
|
||||
"$ref": "#/components/schemas/Note"
|
||||
/notes/{note}:
|
||||
get:
|
||||
tags:
|
||||
|
@ -181,7 +181,7 @@ paths:
|
|||
content:
|
||||
application/json:
|
||||
schema:
|
||||
"$ref": "#/components/schemas/NewNote"
|
||||
"$ref": "#/components/schemas/Note"
|
||||
409:
|
||||
description: This alias is already in use
|
||||
parameters:
|
||||
|
@ -545,16 +545,6 @@ components:
|
|||
properties:
|
||||
openId:
|
||||
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:
|
||||
type: object
|
||||
properties:
|
||||
|
|
Loading…
Reference in a new issue