Swagger for dump endpoin
This commit is contained in:
@@ -8,18 +8,7 @@ paths:
|
||||
- $ref: "#/components/parameters/token"
|
||||
responses:
|
||||
200:
|
||||
content:
|
||||
applicaiton/json:
|
||||
schema:
|
||||
type: array
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
Name: string
|
||||
ID: string
|
||||
example:
|
||||
Name: John Smith
|
||||
ID: abc-123
|
||||
$ref: "#/components/schemas/responseShortList"
|
||||
|
||||
post:
|
||||
description: "Create a new entity"
|
||||
@@ -42,3 +31,5 @@ components:
|
||||
$ref: "../swagger.yaml#/components/schemas/requestOne"
|
||||
responseOne:
|
||||
$ref: "../swagger.yaml#/components/schemas/responseOne"
|
||||
responseShortList:
|
||||
$ref: "../swagger.yaml#/components/schemas/responseShortList"
|
||||
|
||||
Reference in New Issue
Block a user