Files
recipe-api/openapi/paths/account-register.yaml

24 lines
512 B
YAML

post:
tags:
- Account
summary: "Register an account"
operationId: "RegisterAccount"
requestBody:
content:
application/json:
schema:
$ref: "../schemas/Account.yaml"
examples:
accountIn:
$ref: "../examples/AccountIn.yaml"
required: true
responses:
"200":
description: "OK"
"400":
description: "Bad Request"
content:
"application/json":
schema:
$ref: "../schemas/ProblemDetail.yaml"