refactor: add PingResponse and link to /api/auth/ping
This commit is contained in:
parent
2f0a538033
commit
2e3ec1408e
|
@ -124,6 +124,10 @@ paths:
|
||||||
responses:
|
responses:
|
||||||
'200':
|
'200':
|
||||||
description: Pong
|
description: Pong
|
||||||
|
content:
|
||||||
|
application/json:
|
||||||
|
schema:
|
||||||
|
$ref: '#/components/schemas/PingResponse'
|
||||||
'401':
|
'401':
|
||||||
description: Unauthorized
|
description: Unauthorized
|
||||||
|
|
||||||
|
@ -216,3 +220,8 @@ components:
|
||||||
type: string
|
type: string
|
||||||
password:
|
password:
|
||||||
type: string
|
type: string
|
||||||
|
PingResponse:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
ping:
|
||||||
|
type: string
|
||||||
|
|
Loading…
Reference in New Issue