Skip to content

Commit

Permalink
autogen(openapi): regenerate swagger spec and internal client
Browse files Browse the repository at this point in the history
[skip ci]
  • Loading branch information
ory-bot committed Mar 23, 2022
1 parent 2c7ac3b commit 22cb081
Show file tree
Hide file tree
Showing 4 changed files with 170 additions and 10 deletions.
34 changes: 32 additions & 2 deletions internal/httpclient/api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -656,7 +656,7 @@ paths:
API flows expect `application/json` to be sent in the body and responds with
HTTP 200 and a application/json body with the session token on success;
HTTP 303 redirect to a fresh login flow if the original flow expired with the appropriate error messages set;
HTTP 410 if the original flow expired with the appropriate error messages set and optionally a `use_flow_id` parameter in the body;
HTTP 400 on form validation errors.
Browser flows expect a Content-Type of `application/x-www-form-urlencoded` or `application/json` to be sent in the body and respond with
Expand Down Expand Up @@ -725,6 +725,12 @@ paths:
schema:
$ref: '#/components/schemas/selfServiceLoginFlow'
description: selfServiceLoginFlow
"410":
content:
application/json:
schema:
$ref: '#/components/schemas/jsonError'
description: jsonError
"422":
content:
application/json:
Expand Down Expand Up @@ -1205,6 +1211,12 @@ paths:
schema:
$ref: '#/components/schemas/selfServiceRecoveryFlow'
description: selfServiceRecoveryFlow
"410":
content:
application/json:
schema:
$ref: '#/components/schemas/jsonError'
description: jsonError
"500":
content:
application/json:
Expand Down Expand Up @@ -1386,7 +1398,7 @@ paths:
API flows expect `application/json` to be sent in the body and respond with
HTTP 200 and a application/json body with the created identity success - if the session hook is configured the
`session` and `session_token` will also be included;
HTTP 303 redirect to a fresh registration flow if the original flow expired with the appropriate error messages set;
HTTP 410 if the original flow expired with the appropriate error messages set and optionally a `use_flow_id` parameter in the body;
HTTP 400 on form validation errors.
Browser flows expect a Content-Type of `application/x-www-form-urlencoded` or `application/json` to be sent in the body and respond with
Expand Down Expand Up @@ -1447,6 +1459,12 @@ paths:
schema:
$ref: '#/components/schemas/selfServiceRegistrationFlow'
description: selfServiceRegistrationFlow
"410":
content:
application/json:
schema:
$ref: '#/components/schemas/jsonError'
description: jsonError
"422":
content:
application/json:
Expand Down Expand Up @@ -1755,6 +1773,12 @@ paths:
schema:
$ref: '#/components/schemas/jsonError'
description: jsonError
"410":
content:
application/json:
schema:
$ref: '#/components/schemas/jsonError'
description: jsonError
"422":
content:
application/json:
Expand Down Expand Up @@ -2078,6 +2102,12 @@ paths:
schema:
$ref: '#/components/schemas/selfServiceVerificationFlow'
description: selfServiceVerificationFlow
"410":
content:
application/json:
schema:
$ref: '#/components/schemas/jsonError'
description: jsonError
"500":
content:
application/json:
Expand Down
58 changes: 54 additions & 4 deletions internal/httpclient/api_v0alpha2.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 22cb081

Please sign in to comment.