Skip to content

Commit

Permalink
chore: regenerate swagger
Browse files Browse the repository at this point in the history
  • Loading branch information
aeneasr committed Aug 25, 2020
1 parent d4c7d1a commit 8c1d1f7
Show file tree
Hide file tree
Showing 21 changed files with 1,971 additions and 729 deletions.
107 changes: 37 additions & 70 deletions .schema/api.swagger.json
Expand Up @@ -693,7 +693,7 @@
"public"
],
"summary": "Complete the browser-based settings flow for the password strategy",
"operationId": "completeSelfServiceBrowserSettingsPasswordStrategyFlow",
"operationId": "completeSelfServiceSettingsFlowWithPasswordMethod",
"responses": {
"302": {
"description": "Empty responses are sent when, for example, resources are deleted. The HTTP status code for empty responses is\ntypically 201."
Expand All @@ -707,58 +707,6 @@
}
}
},
"/self-service/browser/flows/settings/strategies/profile": {
"post": {
"description": "This endpoint completes a browser-based settings flow. This is usually achieved by POSTing data to this\nendpoint.\n\nIf the provided profile data is valid against the Identity's Traits JSON Schema, the data will be updated and\nthe browser redirected to `url.settings_ui` for further steps.\n\n\u003e This endpoint is NOT INTENDED for API clients and only works with browsers (Chrome, Firefox, ...) and HTML Forms.\n\nMore information can be found at [ORY Kratos User Settings \u0026 Profile Management Documentation](../self-service/flows/user-settings).",
"consumes": [
"application/json",
"application/x-www-form-urlencoded"
],
"schemes": [
"http",
"https"
],
"tags": [
"public"
],
"summary": "Complete the browser-based settings flow for profile data",
"operationId": "completeSelfServiceBrowserSettingsProfileStrategyFlow",
"parameters": [
{
"type": "string",
"description": "Request is the request ID.",
"name": "request",
"in": "query",
"required": true
},
{
"name": "Body",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/completeSelfServiceBrowserSettingsStrategyProfileFlowPayload"
}
}
],
"responses": {
"200": {
"description": "settingsViaApiResponse",
"schema": {
"$ref": "#/definitions/settingsViaApiResponse"
}
},
"302": {
"description": "Empty responses are sent when, for example, resources are deleted. The HTTP status code for empty responses is\ntypically 201."
},
"500": {
"description": "genericError",
"schema": {
"$ref": "#/definitions/genericError"
}
}
}
}
},
"/self-service/browser/flows/verification/init/{via}": {
"get": {
"description": "This endpoint initializes a browser-based verification flow. Once initialized, the browser will be redirected to\n`selfservice.flows.settings.ui_url` with the request ID set as a query parameter. If no valid user session exists, a login\nflow will be initialized.\n\n\u003e This endpoint is NOT INTENDED for API clients and only works\nwith browsers (Chrome, Firefox, ...).\n\nMore information can be found at [ORY Kratos Email and Phone Verification Documentation](https://www.ory.sh/docs/kratos/selfservice/flows/verify-email-account-activation).",
Expand Down Expand Up @@ -1422,6 +1370,41 @@
}
}
},
"/self-service/settings/methods/profile": {
"post": {
"description": "This endpoint completes a browser-based settings flow. This is usually achieved by POSTing data to this\nendpoint.\n\nIf the provided profile data is valid against the Identity's Traits JSON Schema, the data will be updated and\nthe browser redirected to `url.settings_ui` for further steps.\n\n\u003e This endpoint is NOT INTENDED for API clients and only works with browsers (Chrome, Firefox, ...) and HTML Forms.\n\nMore information can be found at [ORY Kratos User Settings \u0026 Profile Management Documentation](../self-service/flows/user-settings).",
"consumes": [
"application/json",
"application/x-www-form-urlencoded"
],
"schemes": [
"http",
"https"
],
"tags": [
"public"
],
"summary": "Complete the browser-based settings flow for profile data",
"operationId": "completeSelfServiceSettingsFlowWithProfileMethod",
"responses": {
"200": {
"description": "settingsViaApiResponse",
"schema": {
"$ref": "#/definitions/settingsViaApiResponse"
}
},
"302": {
"description": "Empty responses are sent when, for example, resources are deleted. The HTTP status code for empty responses is\ntypically 201."
},
"500": {
"description": "genericError",
"schema": {
"$ref": "#/definitions/genericError"
}
}
}
}
},
"/sessions": {
"delete": {
"description": "Use this endpoint to revoke a session using its token. This endpoint is particularly useful for API clients\nsuch as mobile apps to log the user out of the system and invalidate the session.\n\nThis endpoint does not remove any HTTP Cookies - use the Self-Service Logout Flow instead.",
Expand Down Expand Up @@ -1731,22 +1714,6 @@
"VerifiableAddressType": {
"type": "string"
},
"completeSelfServiceBrowserSettingsStrategyProfileFlowPayload": {
"type": "object",
"required": [
"traits"
],
"properties": {
"request_id": {
"description": "RequestID is request ID.\n\nin: query",
"type": "string"
},
"traits": {
"description": "Traits contains all of the identity's traits.\n\ntype: string\nformat: binary",
"type": "object"
}
}
},
"createRecoveryLinkResponse": {
"type": "object",
"required": [
Expand Down Expand Up @@ -2367,4 +2334,4 @@
},
"x-forwarded-proto": "string",
"x-request-id": "string"
}
}

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

0 comments on commit 8c1d1f7

Please sign in to comment.