all repos

onasty @ dependabot/github_actions/marocchino/tool-versions-action-2

a one-time notes service

onasty/api/paths/ping.yml (view raw)

Oleksandr Smirnov Oleksandr Smirnov
olexsmir@gmail.com
api: add openapi docs (#181)..., 9 months ago
1
get:
2
  tags: [API health]
3
  summary: Check if api is up
4
  security:
5
    - {}
6
7
  responses:
8
    '200':
9
      description: API is up
10
      content:
11
        application/json:
12
          schema:
13
            type: object
14
            properties:
15
              message:
16
                type: string
17
                example: "pong"
18
19
    '400':
20
      $ref: '../components/responses/ErrorResponse.yml'