23 lines
430 B
YAML
23 lines
430 B
YAML
Validates token passed in Authorization header
|
|
---
|
|
tags:
|
|
- Token
|
|
responses:
|
|
200:
|
|
description: Valid token
|
|
schema:
|
|
required:
|
|
- status
|
|
- message
|
|
properties:
|
|
status:
|
|
type: string
|
|
example: success
|
|
message:
|
|
type: string
|
|
example: Valid token
|
|
401:
|
|
description: Bad credentials
|
|
schema:
|
|
$ref: '#/definitions/UnauthorizedError'
|