removed NewNote schema

This commit is contained in:
Philip Molares 2020-05-27 13:25:37 +02:00 committed by David Mehren
parent 78b2563693
commit cc1e656b36
No known key found for this signature in database
GPG key ID: 185982BA4C42B7C3

View file

@ -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: