dndex/public/swagger/v1/users/register.yaml

30 lines
694 B
YAML

paths:
summary: "Registering namespaces"
post:
tags:
- users
requestBody:
content:
application/json:
$ref: "#/components/schemas/requestRegister"
application/x-www-form-urlencoded:
$ref: "#/components/schemas/requestRegister"
responses:
200:
$ref: "#/components/schemas/responseOK"
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"