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 d374dec commit 1dae6f1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 95 deletions.
54 changes: 2 additions & 52 deletions openapi/spec3.beta.sdk.json
Original file line number Diff line number Diff line change
Expand Up @@ -7453,32 +7453,16 @@
"enabled": {
"description": "Whether the embedded component is enabled.",
"type": "boolean"
},
"features": {
"$ref": "#/components/schemas/connect_embedded_base_features"
}
},
"required": [
"enabled"
],
"title": "ConnectEmbeddedBaseConfig",
"type": "object",
"x-expandableFields": [
"features"
],
"x-stripeResource": {
"class_name": "BaseConfig",
"in_package": ""
}
},
"connect_embedded_base_features": {
"description": "",
"properties": {},
"title": "ConnectEmbeddedBaseFeatures",
"type": "object",
"x-expandableFields": [],
"x-stripeResource": {
"class_name": "BaseFeatures",
"class_name": "BaseConfig",
"in_package": ""
}
},
Expand All @@ -7488,50 +7472,16 @@
"enabled": {
"description": "Whether the embedded component is enabled.",
"type": "boolean"
},
"features": {
"$ref": "#/components/schemas/connect_embedded_payments_features"
}
},
"required": [
"enabled"
],
"title": "ConnectEmbeddedPaymentsConfig",
"type": "object",
"x-expandableFields": [
"features"
],
"x-stripeResource": {
"class_name": "PaymentsConfig",
"in_package": ""
}
},
"connect_embedded_payments_features": {
"description": "",
"properties": {
"capture_payments": {
"description": "Whether to allow capturing and cancelling payment intents. This is `true` by default.",
"type": "boolean"
},
"dispute_management": {
"description": "Whether to allow responding to disputes, including submitting evidence and accepting disputes. This is `true` by default.",
"type": "boolean"
},
"refund_management": {
"description": "Whether to allow sending refunds. This is `true` by default.",
"type": "boolean"
}
},
"required": [
"capture_payments",
"dispute_management",
"refund_management"
],
"title": "ConnectEmbeddedPaymentsFeatures",
"type": "object",
"x-expandableFields": [],
"x-stripeResource": {
"class_name": "PaymentsFeatures",
"class_name": "PaymentsConfig",
"in_package": ""
}
},
Expand Down
45 changes: 2 additions & 43 deletions openapi/spec3.beta.sdk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7328,68 +7328,27 @@ components:
enabled:
description: Whether the embedded component is enabled.
type: boolean
features:
$ref: '#/components/schemas/connect_embedded_base_features'
required:
- enabled
title: ConnectEmbeddedBaseConfig
type: object
x-expandableFields:
- features
x-stripeResource:
class_name: BaseConfig
in_package: ''
connect_embedded_base_features:
description: ''
properties: {}
title: ConnectEmbeddedBaseFeatures
type: object
x-expandableFields: []
x-stripeResource:
class_name: BaseFeatures
class_name: BaseConfig
in_package: ''
connect_embedded_payments_config:
description: ''
properties:
enabled:
description: Whether the embedded component is enabled.
type: boolean
features:
$ref: '#/components/schemas/connect_embedded_payments_features'
required:
- enabled
title: ConnectEmbeddedPaymentsConfig
type: object
x-expandableFields:
- features
x-stripeResource:
class_name: PaymentsConfig
in_package: ''
connect_embedded_payments_features:
description: ''
properties:
capture_payments:
description: >-
Whether to allow capturing and cancelling payment intents. This is
`true` by default.
type: boolean
dispute_management:
description: >-
Whether to allow responding to disputes, including submitting
evidence and accepting disputes. This is `true` by default.
type: boolean
refund_management:
description: Whether to allow sending refunds. This is `true` by default.
type: boolean
required:
- capture_payments
- dispute_management
- refund_management
title: ConnectEmbeddedPaymentsFeatures
type: object
x-expandableFields: []
x-stripeResource:
class_name: PaymentsFeatures
class_name: PaymentsConfig
in_package: ''
country_spec:
description: >-
Expand Down

0 comments on commit 1dae6f1

Please sign in to comment.