Skip to content

Commit

Permalink
OpenAPI Update (#764)
Browse files Browse the repository at this point in the history
Update OpenAPI for 35a32d43e4706e46261f4c5c6aaa95a075d96928

Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
  • Loading branch information
stripe-openapi[bot] committed Apr 23, 2024
1 parent e3985ab commit ef61027
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 8 deletions.
24 changes: 20 additions & 4 deletions embedded/openapi/spec3.beta.sdk.json
Original file line number Diff line number Diff line change
Expand Up @@ -15577,9 +15577,23 @@
"description": "An active entitlement describes access to a feature for a customer.",
"properties": {
"feature": {
"description": "The feature that the customer is entitled to.",
"maxLength": 5000,
"type": "string"
"anyOf": [
{
"maxLength": 5000,
"type": "string"
},
{
"$ref": "#/components/schemas/entitlements.feature"
}
],
"description": "The [Feature](https://stripe.com/docs/api/entitlements/feature) that the customer is entitled to.",
"x-expansionResources": {
"oneOf": [
{
"$ref": "#/components/schemas/entitlements.feature"
}
]
}
},
"id": {
"description": "Unique identifier for the object.",
Expand Down Expand Up @@ -15612,7 +15626,9 @@
],
"title": "ActiveEntitlement",
"type": "object",
"x-expandableFields": [],
"x-expandableFields": [
"feature"
],
"x-resourceId": "entitlements.active_entitlement",
"x-stripeOperations": [
{
Expand Down
24 changes: 20 additions & 4 deletions embedded/openapi/spec3.json
Original file line number Diff line number Diff line change
Expand Up @@ -11127,9 +11127,23 @@
"description": "An active entitlement describes access to a feature for a customer.",
"properties": {
"feature": {
"description": "The feature that the customer is entitled to.",
"maxLength": 5000,
"type": "string"
"anyOf": [
{
"maxLength": 5000,
"type": "string"
},
{
"$ref": "#/components/schemas/entitlements.feature"
}
],
"description": "The [Feature](https://stripe.com/docs/api/entitlements/feature) that the customer is entitled to.",
"x-expansionResources": {
"oneOf": [
{
"$ref": "#/components/schemas/entitlements.feature"
}
]
}
},
"id": {
"description": "Unique identifier for the object.",
Expand Down Expand Up @@ -11162,7 +11176,9 @@
],
"title": "ActiveEntitlement",
"type": "object",
"x-expandableFields": [],
"x-expandableFields": [
"feature"
],
"x-resourceId": "entitlements.active_entitlement"
},
"entitlements.feature": {
Expand Down

0 comments on commit ef61027

Please sign in to comment.