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 2, 2024
1 parent 3c7a9fe commit 178d003
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 16 deletions.
4 changes: 2 additions & 2 deletions openapi/spec3.beta.sdk.json
Original file line number Diff line number Diff line change
Expand Up @@ -187430,7 +187430,7 @@
"type": "object"
},
"promotion_code": {
"description": "The ID of a promotion code to apply to this subscription. A promotion code applied to a subscription will only affect invoices created for that particular subscription. This field has been deprecated and will be removed in a future API version. Use `discounts` instead.",
"description": "The promotion code to apply to this subscription. A promotion code applied to a subscription will only affect invoices created for that particular subscription. This field has been deprecated and will be removed in a future API version. Use `discounts` instead.",
"maxLength": 5000,
"type": "string"
},
Expand Down Expand Up @@ -189225,7 +189225,7 @@
"type": "object"
},
"promotion_code": {
"description": "The promotion code to apply to this subscription. A promotion code applied to a subscription will only affect invoices created for that particular subscription.",
"description": "The promotion code to apply to this subscription. A promotion code applied to a subscription will only affect invoices created for that particular subscription. This field has been deprecated and will be removed in a future API version. Use `discounts` instead.",
"maxLength": 5000,
"type": "string"
},
Expand Down
6 changes: 4 additions & 2 deletions openapi/spec3.beta.sdk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -179739,7 +179739,7 @@ paths:
type: object
promotion_code:
description: >-
The ID of a promotion code to apply to this subscription. A
The promotion code to apply to this subscription. A
promotion code applied to a subscription will only affect
invoices created for that particular subscription. This
field has been deprecated and will be removed in a future
Expand Down Expand Up @@ -181573,7 +181573,9 @@ paths:
description: >-
The promotion code to apply to this subscription. A
promotion code applied to a subscription will only affect
invoices created for that particular subscription.
invoices created for that particular subscription. This
field has been deprecated and will be removed in a future
API version. Use `discounts` instead.
maxLength: 5000
type: string
proration_behavior:
Expand Down
8 changes: 4 additions & 4 deletions openapi/spec3.json
Original file line number Diff line number Diff line change
Expand Up @@ -78136,7 +78136,7 @@
"description": "Specifies an interval for how often to bill for any pending invoice items. It is analogous to calling [Create an invoice](https://stripe.com/docs/api#create_invoice) for the given subscription at the specified interval."
},
"promotion_code": {
"description": "The ID of a promotion code to apply to this subscription. A promotion code applied to a subscription will only affect invoices created for that particular subscription. This field has been deprecated and will be removed in a future API version. Use `discounts` instead.",
"description": "The promotion code to apply to this subscription. A promotion code applied to a subscription will only affect invoices created for that particular subscription. This field has been deprecated and will be removed in a future API version. Use `discounts` instead.",
"maxLength": 5000,
"type": "string"
},
Expand Down Expand Up @@ -79474,7 +79474,7 @@
"description": "Specifies an interval for how often to bill for any pending invoice items. It is analogous to calling [Create an invoice](https://stripe.com/docs/api#create_invoice) for the given subscription at the specified interval."
},
"promotion_code": {
"description": "The promotion code to apply to this subscription. A promotion code applied to a subscription will only affect invoices created for that particular subscription.",
"description": "The promotion code to apply to this subscription. A promotion code applied to a subscription will only affect invoices created for that particular subscription. This field has been deprecated and will be removed in a future API version. Use `discounts` instead.",
"maxLength": 5000,
"type": "string"
},
Expand Down Expand Up @@ -141353,7 +141353,7 @@
"description": "Specifies an interval for how often to bill for any pending invoice items. It is analogous to calling [Create an invoice](https://stripe.com/docs/api#create_invoice) for the given subscription at the specified interval."
},
"promotion_code": {
"description": "The ID of a promotion code to apply to this subscription. A promotion code applied to a subscription will only affect invoices created for that particular subscription. This field has been deprecated and will be removed in a future API version. Use `discounts` instead.",
"description": "The promotion code to apply to this subscription. A promotion code applied to a subscription will only affect invoices created for that particular subscription. This field has been deprecated and will be removed in a future API version. Use `discounts` instead.",
"maxLength": 5000,
"type": "string"
},
Expand Down Expand Up @@ -142872,7 +142872,7 @@
"description": "Specifies an interval for how often to bill for any pending invoice items. It is analogous to calling [Create an invoice](https://stripe.com/docs/api#create_invoice) for the given subscription at the specified interval."
},
"promotion_code": {
"description": "The promotion code to apply to this subscription. A promotion code applied to a subscription will only affect invoices created for that particular subscription.",
"description": "The promotion code to apply to this subscription. A promotion code applied to a subscription will only affect invoices created for that particular subscription. This field has been deprecated and will be removed in a future API version. Use `discounts` instead.",
"maxLength": 5000,
"type": "string"
},
Expand Down
4 changes: 2 additions & 2 deletions openapi/spec3.sdk.json
Original file line number Diff line number Diff line change
Expand Up @@ -149466,7 +149466,7 @@
"description": "Specifies an interval for how often to bill for any pending invoice items. It is analogous to calling [Create an invoice](https://stripe.com/docs/api#create_invoice) for the given subscription at the specified interval."
},
"promotion_code": {
"description": "The ID of a promotion code to apply to this subscription. A promotion code applied to a subscription will only affect invoices created for that particular subscription. This field has been deprecated and will be removed in a future API version. Use `discounts` instead.",
"description": "The promotion code to apply to this subscription. A promotion code applied to a subscription will only affect invoices created for that particular subscription. This field has been deprecated and will be removed in a future API version. Use `discounts` instead.",
"maxLength": 5000,
"type": "string"
},
Expand Down Expand Up @@ -151086,7 +151086,7 @@
"description": "Specifies an interval for how often to bill for any pending invoice items. It is analogous to calling [Create an invoice](https://stripe.com/docs/api#create_invoice) for the given subscription at the specified interval."
},
"promotion_code": {
"description": "The promotion code to apply to this subscription. A promotion code applied to a subscription will only affect invoices created for that particular subscription.",
"description": "The promotion code to apply to this subscription. A promotion code applied to a subscription will only affect invoices created for that particular subscription. This field has been deprecated and will be removed in a future API version. Use `discounts` instead.",
"maxLength": 5000,
"type": "string"
},
Expand Down
6 changes: 4 additions & 2 deletions openapi/spec3.sdk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -143437,7 +143437,7 @@ paths:
given subscription at the specified interval.
promotion_code:
description: >-
The ID of a promotion code to apply to this subscription. A
The promotion code to apply to this subscription. A
promotion code applied to a subscription will only affect
invoices created for that particular subscription. This
field has been deprecated and will be removed in a future
Expand Down Expand Up @@ -145095,7 +145095,9 @@ paths:
description: >-
The promotion code to apply to this subscription. A
promotion code applied to a subscription will only affect
invoices created for that particular subscription.
invoices created for that particular subscription. This
field has been deprecated and will be removed in a future
API version. Use `discounts` instead.
maxLength: 5000
type: string
proration_behavior:
Expand Down
12 changes: 8 additions & 4 deletions openapi/spec3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69705,7 +69705,7 @@ paths:
given subscription at the specified interval.
promotion_code:
description: >-
The ID of a promotion code to apply to this subscription. A
The promotion code to apply to this subscription. A
promotion code applied to a subscription will only affect
invoices created for that particular subscription. This
field has been deprecated and will be removed in a future
Expand Down Expand Up @@ -70790,7 +70790,9 @@ paths:
description: >-
The promotion code to apply to this subscription. A
promotion code applied to a subscription will only affect
invoices created for that particular subscription.
invoices created for that particular subscription. This
field has been deprecated and will be removed in a future
API version. Use `discounts` instead.
maxLength: 5000
type: string
proration_behavior:
Expand Down Expand Up @@ -120001,7 +120003,7 @@ paths:
given subscription at the specified interval.
promotion_code:
description: >-
The ID of a promotion code to apply to this subscription. A
The promotion code to apply to this subscription. A
promotion code applied to a subscription will only affect
invoices created for that particular subscription. This
field has been deprecated and will be removed in a future
Expand Down Expand Up @@ -121296,7 +121298,9 @@ paths:
description: >-
The promotion code to apply to this subscription. A
promotion code applied to a subscription will only affect
invoices created for that particular subscription.
invoices created for that particular subscription. This
field has been deprecated and will be removed in a future
API version. Use `discounts` instead.
maxLength: 5000
type: string
proration_behavior:
Expand Down

0 comments on commit 178d003

Please sign in to comment.