added api docs

This commit is contained in:
Arseni
2026-02-24 21:26:31 +03:00
parent 0646f55189
commit fa54088b25
87 changed files with 2299 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
components:
schemas:
ClientRefreshToken:
allOf:
- $ref: ./session_identifier.yaml#/components/schemas/SessionIdentifier
- type: object
additionalProperties: false
required:
- token
properties:
token:
type: string

View File

@@ -0,0 +1,17 @@
components:
schemas:
LoginData:
type: object
additionalProperties: false
required:
- login
- password
properties:
login:
type: string
format: email
password:
type: string
format: password
locale:
type: string

View File

@@ -0,0 +1,13 @@
components:
schemas:
SessionIdentifier:
type: object
additionalProperties: false
required:
- clientId
- deviceId
properties:
clientId:
type: string
deviceId:
type: string

View File

@@ -0,0 +1,14 @@
components:
schemas:
TokenData:
type: object
additionalProperties: false
required:
- token
- expiration
properties:
token:
type: string
expiration:
type: string
format: date-time