kiolyn-api-specs
Version:
27 lines (25 loc) • 532 B
YAML
AuthenticateRequest:
type: object
properties:
username:
type: string
password:
type: string
format: MD5 encrypted
required:
- password
- username
AuthenticateResponse:
type: array
items:
type: object
properties:
token:
type: string
description: The access token to be used as Bearer Authentication header
merchant:
$ref: '#/components/schemas/Merchant'
employee:
$ref: '#/components/schemas/Employee'
required:
- token