Skip to content

Commit

Permalink
fix: resolve swagger issues and regenerate SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
aeneasr committed Aug 27, 2020
1 parent 784da53 commit be4c7e4
Show file tree
Hide file tree
Showing 12 changed files with 347 additions and 42 deletions.
12 changes: 6 additions & 6 deletions .schema/api.swagger.json
Expand Up @@ -592,9 +592,9 @@
],
"responses": {
"200": {
"description": "recoveryRequest",
"description": "recoveryFlow",
"schema": {
"$ref": "#/definitions/recoveryRequest"
"$ref": "#/definitions/recoveryFlow"
}
},
"403": {
Expand Down Expand Up @@ -2026,10 +2026,10 @@
}
}
},
"recoveryRequest": {
"recoveryFlow": {
"description": "This request is used when an identity wants to recover their account.\n\nWe recommend reading the [Account Recovery Documentation](../self-service/flows/password-reset-account-recovery)",
"type": "object",
"title": "Request presents a recovery request",
"title": "A Recovery Flow",
"required": [
"id",
"expires_at",
Expand Down Expand Up @@ -2063,7 +2063,7 @@
"description": "Methods contains context for all account recovery methods. If a registration request has been\nprocessed, but for example the password is incorrect, this will contain error messages.",
"type": "object",
"additionalProperties": {
"$ref": "#/definitions/recoveryRequestMethod"
"$ref": "#/definitions/recoveryFlowMethod"
}
},
"request_url": {
Expand All @@ -2075,7 +2075,7 @@
}
}
},
"recoveryRequestMethod": {
"recoveryFlowMethod": {
"type": "object",
"properties": {
"config": {
Expand Down

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

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

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

94 changes: 94 additions & 0 deletions internal/httpclient/models/registration_flow_method.go

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

0 comments on commit be4c7e4

Please sign in to comment.