Skip to content

Commit

Permalink
fix: mark body as required (#2479)
Browse files Browse the repository at this point in the history
BREAKING CHANGE: Please be aware that the SDK method signatures for `submitSelfServiceRecoveryFlow`, `submitSelfServiceRegistrationFlow`, `submitSelfServiceLoginFlow`, `submitSelfServiceSettingsFlow`, `submitSelfServiceVerificationFlow` might have changed in your SDK.
  • Loading branch information
aeneasr committed May 19, 2022
1 parent 93bf1e2 commit c9ae117
Show file tree
Hide file tree
Showing 10 changed files with 80 additions and 45 deletions.
5 changes: 5 additions & 0 deletions internal/httpclient/api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -760,6 +760,7 @@ paths:
application/x-www-form-urlencoded:
schema:
$ref: '#/components/schemas/submitSelfServiceLoginFlowBody'
required: true
x-originalParamName: Body
responses:
"200":
Expand Down Expand Up @@ -1258,6 +1259,7 @@ paths:
application/x-www-form-urlencoded:
schema:
$ref: '#/components/schemas/submitSelfServiceRecoveryFlowBody'
required: true
x-originalParamName: Body
responses:
"200":
Expand Down Expand Up @@ -1518,6 +1520,7 @@ paths:
application/x-www-form-urlencoded:
schema:
$ref: '#/components/schemas/submitSelfServiceRegistrationFlowBody'
required: true
x-originalParamName: Body
responses:
"200":
Expand Down Expand Up @@ -1832,6 +1835,7 @@ paths:
application/x-www-form-urlencoded:
schema:
$ref: '#/components/schemas/submitSelfServiceSettingsFlowBody'
required: true
x-originalParamName: Body
responses:
"200":
Expand Down Expand Up @@ -2184,6 +2188,7 @@ paths:
application/x-www-form-urlencoded:
schema:
$ref: '#/components/schemas/submitSelfServiceVerificationFlowBody'
required: true
x-originalParamName: Body
responses:
"200":
Expand Down
65 changes: 40 additions & 25 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 c9ae117

Please sign in to comment.