onasty/api/paths/ping.yml(view raw)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
get:
tags: [API health]
summary: Check if api is up
security:
- {}
responses:
'200':
description: API is up
content:
application/json:
schema:
type: object
properties:
message:
type: string
example: "pong"
'400':
$ref: '../components/responses/ErrorResponse.yml'
|