Skip to content

Commit

Permalink
OpenAPI Update (#735)
Browse files Browse the repository at this point in the history
Update OpenAPI for f96861ba001b56d61e377931c44a6d33f977bc09

Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
  • Loading branch information
stripe-openapi[bot] committed Mar 29, 2024
1 parent db91420 commit a1291e6
Showing 1 changed file with 94 additions and 0 deletions.
94 changes: 94 additions & 0 deletions embedded/openapi/spec3.beta.sdk.json
Original file line number Diff line number Diff line change
Expand Up @@ -15550,6 +15550,13 @@
"method_type": "create",
"operation": "post",
"path": "/v1/entitlements/features"
},
{
"method_name": "update",
"method_on": "service",
"method_type": "update",
"operation": "post",
"path": "/v1/entitlements/features/{id}"
}
],
"x-stripeResource": {
Expand Down Expand Up @@ -96819,6 +96826,93 @@
}
}
},
"/v1/entitlements/features/{id}": {
"post": {
"description": "<p>Update a feature’s metadata or permanently deactivate it.</p>",
"operationId": "PostEntitlementsFeaturesId",
"parameters": [
{
"in": "path",
"name": "id",
"required": true,
"schema": {
"maxLength": 5000,
"type": "string"
},
"style": "simple"
}
],
"requestBody": {
"content": {
"application/x-www-form-urlencoded": {
"encoding": {
"expand": {
"explode": true,
"style": "deepObject"
},
"metadata": {
"explode": true,
"style": "deepObject"
}
},
"schema": {
"additionalProperties": false,
"properties": {
"active": {
"description": "Inactive features cannot be attached to new products and will not be returned from the features list endpoint.",
"type": "boolean"
},
"expand": {
"description": "Specifies which fields in the response should be expanded.",
"items": {
"maxLength": 5000,
"type": "string"
},
"type": "array"
},
"metadata": {
"additionalProperties": {
"type": "string"
},
"description": "Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.",
"type": "object"
},
"name": {
"description": "The feature's name, for your own purpose, not meant to be displayable to the customer.",
"maxLength": 80,
"type": "string"
}
},
"type": "object"
}
}
},
"required": false
},
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/entitlements.feature"
}
}
},
"description": "Successful response."
},
"default": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error"
}
}
},
"description": "Error response."
}
}
}
},
"/v1/ephemeral_keys": {
"post": {
"description": "<p>Creates a short-lived API key for a given resource.</p>",
Expand Down

0 comments on commit a1291e6

Please sign in to comment.