Update swagger for json login, api prefix, direct upload, markdown read
This commit is contained in:
@@ -5,16 +5,10 @@ paths:
|
||||
- users
|
||||
requestBody:
|
||||
content:
|
||||
application/json:
|
||||
$ref: "#/components/schemas/requestRegister"
|
||||
application/x-www-form-urlencoded:
|
||||
schema:
|
||||
type: object
|
||||
properties:
|
||||
DnDex-User:
|
||||
type: string
|
||||
example: "namespace"
|
||||
DnDex-Auth:
|
||||
type: string
|
||||
example: "password"
|
||||
$ref: "#/components/schemas/requestRegister"
|
||||
responses:
|
||||
200:
|
||||
$ref: "#/components/schemas/responseOK"
|
||||
@@ -23,3 +17,13 @@ components:
|
||||
schemas:
|
||||
responseOK:
|
||||
$ref: "../swagger.yaml#/components/schemas/responseOK"
|
||||
requestRegister:
|
||||
schema:
|
||||
type: object
|
||||
properties:
|
||||
DnDex-User:
|
||||
type: string
|
||||
example: "namespace"
|
||||
DnDex-Auth:
|
||||
type: string
|
||||
example: "password"
|
||||
|
||||
Reference in New Issue
Block a user