Skip to content

Commit

Permalink
Update OpenAPI specification
Browse files Browse the repository at this point in the history
  • Loading branch information
stripe-openapi[bot] committed Aug 31, 2023
1 parent eed4202 commit 01f8854
Show file tree
Hide file tree
Showing 6 changed files with 45 additions and 21 deletions.
4 changes: 2 additions & 2 deletions openapi/spec3.beta.sdk.json
Original file line number Diff line number Diff line change
Expand Up @@ -64372,7 +64372,7 @@
}
},
"post": {
"description": "<p>Updates an existing Account Capability.</p>",
"description": "<p>Updates an existing Account Capability. Request or remove a capability by updating its <code>requested</code> parameter.</p>",
"operationId": "PostAccountsAccountCapabilitiesCapability",
"parameters": [
{
Expand Down Expand Up @@ -64416,7 +64416,7 @@
"type": "array"
},
"requested": {
"description": "Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.",
"description": "To request a new capability for an account, pass true. There can be a delay before the requested capability becomes active. If the capability has any activation requirements, the response includes them in the `requirements` arrays.\n\nIf a capability isn't permanent, you can remove it from the account by passing false. Most capabilities are permanent after they've been requested. Attempting to remove a permanent capability returns an error.",
"type": "boolean"
}
},
Expand Down
18 changes: 13 additions & 5 deletions openapi/spec3.beta.sdk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58919,7 +58919,9 @@ paths:
$ref: '#/components/schemas/error'
description: Error response.
post:
description: <p>Updates an existing Account Capability.</p>
description: >-
<p>Updates an existing Account Capability. Request or remove a
capability by updating its <code>requested</code> parameter.</p>
operationId: PostAccountsAccountCapabilitiesCapability
parameters:
- in: path
Expand Down Expand Up @@ -58953,10 +58955,16 @@ paths:
type: array
requested:
description: >-
Passing true requests the capability for the account, if it
is not already requested. A requested capability may not
immediately become active. Any requirements to activate the
capability are returned in the `requirements` arrays.
To request a new capability for an account, pass true. There
can be a delay before the requested capability becomes
active. If the capability has any activation requirements,
the response includes them in the `requirements` arrays.


If a capability isn't permanent, you can remove it from the
account by passing false. Most capabilities are permanent
after they've been requested. Attempting to remove a
permanent capability returns an error.
type: boolean
type: object
required: false
Expand Down
4 changes: 2 additions & 2 deletions openapi/spec3.json
Original file line number Diff line number Diff line change
Expand Up @@ -46659,7 +46659,7 @@
}
},
"post": {
"description": "<p>Updates an existing Account Capability.</p>",
"description": "<p>Updates an existing Account Capability. Request or remove a capability by updating its <code>requested</code> parameter.</p>",
"operationId": "PostAccountsAccountCapabilitiesCapability",
"parameters": [
{
Expand Down Expand Up @@ -46703,7 +46703,7 @@
"type": "array"
},
"requested": {
"description": "Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.",
"description": "To request a new capability for an account, pass true. There can be a delay before the requested capability becomes active. If the capability has any activation requirements, the response includes them in the `requirements` arrays.\n\nIf a capability isn't permanent, you can remove it from the account by passing false. Most capabilities are permanent after they've been requested. Attempting to remove a permanent capability returns an error.",
"type": "boolean"
}
},
Expand Down
4 changes: 2 additions & 2 deletions openapi/spec3.sdk.json
Original file line number Diff line number Diff line change
Expand Up @@ -55567,7 +55567,7 @@
}
},
"post": {
"description": "<p>Updates an existing Account Capability.</p>",
"description": "<p>Updates an existing Account Capability. Request or remove a capability by updating its <code>requested</code> parameter.</p>",
"operationId": "PostAccountsAccountCapabilitiesCapability",
"parameters": [
{
Expand Down Expand Up @@ -55611,7 +55611,7 @@
"type": "array"
},
"requested": {
"description": "Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.",
"description": "To request a new capability for an account, pass true. There can be a delay before the requested capability becomes active. If the capability has any activation requirements, the response includes them in the `requirements` arrays.\n\nIf a capability isn't permanent, you can remove it from the account by passing false. Most capabilities are permanent after they've been requested. Attempting to remove a permanent capability returns an error.",
"type": "boolean"
}
},
Expand Down
18 changes: 13 additions & 5 deletions openapi/spec3.sdk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51232,7 +51232,9 @@ paths:
$ref: '#/components/schemas/error'
description: Error response.
post:
description: <p>Updates an existing Account Capability.</p>
description: >-
<p>Updates an existing Account Capability. Request or remove a
capability by updating its <code>requested</code> parameter.</p>
operationId: PostAccountsAccountCapabilitiesCapability
parameters:
- in: path
Expand Down Expand Up @@ -51266,10 +51268,16 @@ paths:
type: array
requested:
description: >-
Passing true requests the capability for the account, if it
is not already requested. A requested capability may not
immediately become active. Any requirements to activate the
capability are returned in the `requirements` arrays.
To request a new capability for an account, pass true. There
can be a delay before the requested capability becomes
active. If the capability has any activation requirements,
the response includes them in the `requirements` arrays.


If a capability isn't permanent, you can remove it from the
account by passing false. Most capabilities are permanent
after they've been requested. Attempting to remove a
permanent capability returns an error.
type: boolean
type: object
required: false
Expand Down
18 changes: 13 additions & 5 deletions openapi/spec3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42949,7 +42949,9 @@ paths:
$ref: '#/components/schemas/error'
description: Error response.
post:
description: <p>Updates an existing Account Capability.</p>
description: >-
<p>Updates an existing Account Capability. Request or remove a
capability by updating its <code>requested</code> parameter.</p>
operationId: PostAccountsAccountCapabilitiesCapability
parameters:
- in: path
Expand Down Expand Up @@ -42983,10 +42985,16 @@ paths:
type: array
requested:
description: >-
Passing true requests the capability for the account, if it
is not already requested. A requested capability may not
immediately become active. Any requirements to activate the
capability are returned in the `requirements` arrays.
To request a new capability for an account, pass true. There
can be a delay before the requested capability becomes
active. If the capability has any activation requirements,
the response includes them in the `requirements` arrays.


If a capability isn't permanent, you can remove it from the
account by passing false. Most capabilities are permanent
after they've been requested. Attempting to remove a
permanent capability returns an error.
type: boolean
type: object
required: false
Expand Down

0 comments on commit 01f8854

Please sign in to comment.