swagger OK resopnse bodies
This commit is contained in:
@@ -13,3 +13,16 @@ paths:
|
||||
DnDex-User:
|
||||
type: string
|
||||
example: "namespace"
|
||||
responses:
|
||||
200:
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
type: object
|
||||
properties:
|
||||
token:
|
||||
type: string
|
||||
example: abc-123
|
||||
salt:
|
||||
type: string
|
||||
example: def-456
|
||||
|
||||
@@ -15,3 +15,11 @@ paths:
|
||||
DnDex-Auth:
|
||||
type: string
|
||||
example: "password"
|
||||
responses:
|
||||
200:
|
||||
$ref: "#/components/schemas/responseOK"
|
||||
|
||||
components:
|
||||
schemas:
|
||||
responseOK:
|
||||
$ref: "../swagger.yaml#/components/schemas/responseOK"
|
||||
|
||||
Reference in New Issue
Block a user