Swagger for dump endpoin

This commit is contained in:
breel
2020-08-27 13:59:07 -06:00
parent 702720326b
commit e1202cec67
4 changed files with 62 additions and 13 deletions

View File

@@ -17,6 +17,8 @@ servers:
paths:
/version:
$ref: "./version.yaml#/paths"
/dump:
$ref: "./dump.yaml#/paths"
/files:
$ref: "./files/index.yaml#/paths"
/files/{path}:
@@ -78,6 +80,31 @@ components:
type: boolean
example: true
fullList:
content:
application/json:
schema:
type: object
properties:
namespace:
type: array
items:
$ref: "#/components/schemas/objectOne"
responseShortList:
content:
application/json:
schema:
type: array
items:
type: object
properties:
Name: string
ID: string
example:
Name: Jeff Snow
ID: abc-123-def-456
requestForm:
content:
application/x-www-form-urlencoded: