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