all repos

onasty @ 10fe031c01c55b5471677cc573d3a83335ce5b05

a one-time notes service

onasty/api/paths/auth/signin.yml(view raw)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
post:
  tags: [Auth]
  summary: Sign in
  security:
    - {}

  requestBody:
    required: true
    content:
      application/json:
        schema:
          $ref: '../../components/requests/Signin.yml'
  responses:
    '200':
      description: Successfully signed in
      content:
        application/json:
          schema:
            $ref: '../../components/schemas/JwtTokens.yml'

    '400':
      $ref: '../../components/responses/ErrorResponse.yml'

    '500':
      $ref: '../../components/responses/ErrorResponse.yml'