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 Mar 20, 2024
1 parent 03864d6 commit 274fc4f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 34 deletions.
29 changes: 7 additions & 22 deletions openapi/spec3.beta.sdk.json
Original file line number Diff line number Diff line change
Expand Up @@ -9286,7 +9286,13 @@
"type": "boolean"
},
"mandate_data": {
"$ref": "#/components/schemas/confirmation_tokens_resource_mandate_data"
"anyOf": [
{
"$ref": "#/components/schemas/confirmation_tokens_resource_mandate_data"
}
],
"description": "Data used for generating a Mandate.",
"nullable": true
},
"object": {
"description": "String representing the object's type. Objects of the same type share the same value.",
Expand All @@ -9301,26 +9307,6 @@
"nullable": true,
"type": "string"
},
"payment_method": {
"anyOf": [
{
"maxLength": 5000,
"type": "string"
},
{
"$ref": "#/components/schemas/payment_method"
}
],
"description": "ID of an existing PaymentMethod.",
"nullable": true,
"x-expansionResources": {
"oneOf": [
{
"$ref": "#/components/schemas/payment_method"
}
]
}
},
"payment_method_options": {
"anyOf": [
{
Expand Down Expand Up @@ -9392,7 +9378,6 @@
"type": "object",
"x-expandableFields": [
"mandate_data",
"payment_method",
"payment_method_options",
"payment_method_preview",
"shipping"
Expand Down
16 changes: 4 additions & 12 deletions openapi/spec3.beta.sdk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8963,7 +8963,10 @@ components:
`false` if the object exists in test mode.
type: boolean
mandate_data:
$ref: '#/components/schemas/confirmation_tokens_resource_mandate_data'
anyOf:
- $ref: '#/components/schemas/confirmation_tokens_resource_mandate_data'
description: Data used for generating a Mandate.
nullable: true
object:
description: >-
String representing the object's type. Objects of the same type
Expand All @@ -8978,16 +8981,6 @@ components:
maxLength: 5000
nullable: true
type: string
payment_method:
anyOf:
- maxLength: 5000
type: string
- $ref: '#/components/schemas/payment_method'
description: ID of an existing PaymentMethod.
nullable: true
x-expansionResources:
oneOf:
- $ref: '#/components/schemas/payment_method'
payment_method_options:
anyOf:
- $ref: >-
Expand Down Expand Up @@ -9057,7 +9050,6 @@ components:
type: object
x-expandableFields:
- mandate_data
- payment_method
- payment_method_options
- payment_method_preview
- shipping
Expand Down

0 comments on commit 274fc4f

Please sign in to comment.