Skip to content

Commit

Permalink
fix: adding new response for session api
Browse files Browse the repository at this point in the history
  • Loading branch information
tamassoltesz committed Nov 5, 2024
1 parent 7d56068 commit 762104f
Showing 1 changed file with 21 additions and 12 deletions.
33 changes: 21 additions & 12 deletions api_spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3161,18 +3161,27 @@ paths:
content:
application/json:
schema:
type: object
properties:
status:
$ref: '#/components/schemas/statusOK'
session:
$ref: '#/components/schemas/session'
accessToken:
$ref: '#/components/schemas/cookieInfo'
refreshToken:
$ref: '#/components/schemas/cookieInfo'
antiCsrfToken:
$ref: '#/components/schemas/token'
oneOf:
- type: object
properties:
status:
$ref: '#/components/schemas/statusOK'
session:
$ref: '#/components/schemas/session'
accessToken:
$ref: '#/components/schemas/cookieInfo'
refreshToken:
$ref: '#/components/schemas/cookieInfo'
antiCsrfToken:
$ref: '#/components/schemas/token'

- type: object
properties:
status:
type: string
enum: ['USER_DOES_NOT_BELONG_TO_TENANT_ERROR']
message:
type: string

'400':
$ref: '#/components/responses/400'
Expand Down

0 comments on commit 762104f

Please sign in to comment.