kiolyn-api-specs
Version:
50 lines (48 loc) • 1.26 kB
YAML
/app/auth/{storeid}/signup:
post:
tags:
- auth
description: Sign up an online user
operationId: signupUser
parameters:
- $ref#storeid: "../parameters/storeid.yaml"
security:
- bearerAuth: []
requestBody:
required: true
description: The Online User to be created
content:
application/json:
schema:
$ref: "#/components/schemas/OnlineUser"
responses:
$ref#4xx: "../responses/4xx.yaml"
200:
description: the Result of sign up online user
content:
application/json:
schema:
$ref: "#/components/schemas/ResultResponse"
/app/auth/signin:
post:
tags:
- auth
description: Sin in an online user
operationId: signinUser
security:
- bearerAuth: []
requestBody:
required: true
description: The Online User sign in
content:
application/json:
schema:
$ref: "#/components/schemas/OnlineUser"
responses:
$ref#4xx: "../responses/4xx.yaml"
200:
description: the Result of sign in online user
content:
application/json:
schema:
$ref: "#/components/schemas/OnlineUser"