fix(schema): add parameters to paste/private route

chore: upgrade version

resolves: HTTPASTE-32
This commit is contained in:
Tiara Rodney 2022-04-03 01:29:42 +02:00
parent dfff5f1523
commit 6e0229f34f
2 changed files with 11 additions and 2 deletions

View file

@ -1,6 +1,6 @@
[metadata] [metadata]
name = httpaste-victorykit name = httpaste-victorykit
version = 1.0.3-alpha version = 1.0.4-alpha
author = Tiara Rodney author = Tiara Rodney
author_email = t.rodney@victoryk.it author_email = t.rodney@victoryk.it
description = a versatile HTTP pastebin description = a versatile HTTP pastebin
@ -39,4 +39,4 @@ console_scripts =
where = src where = src
[options.package_data] [options.package_data]
schema = src/httpaste/schema/httpaste.openapi.json schema = src/httpaste/schema/httpaste.openapi.json

View file

@ -161,6 +161,15 @@
}, },
{ {
"$ref": "#/components/parameters/syntax" "$ref": "#/components/parameters/syntax"
},
{
"$ref": "#/components/parameters/format"
},
{
"$ref": "#/components/parameters/linenos"
},
{
"$ref": "#/components/parameters/mime"
} }
], ],
"responses": { "responses": {