Skip to content

Commit a1291e6

Browse files
OpenAPI Update (#735)
Update OpenAPI for f96861ba001b56d61e377931c44a6d33f977bc09 Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
1 parent db91420 commit a1291e6

File tree

1 file changed

+94
-0
lines changed

1 file changed

+94
-0
lines changed

embedded/openapi/spec3.beta.sdk.json

Lines changed: 94 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15550,6 +15550,13 @@
1555015550
"method_type": "create",
1555115551
"operation": "post",
1555215552
"path": "/v1/entitlements/features"
15553+
},
15554+
{
15555+
"method_name": "update",
15556+
"method_on": "service",
15557+
"method_type": "update",
15558+
"operation": "post",
15559+
"path": "/v1/entitlements/features/{id}"
1555315560
}
1555415561
],
1555515562
"x-stripeResource": {
@@ -96819,6 +96826,93 @@
9681996826
}
9682096827
}
9682196828
},
96829+
"/v1/entitlements/features/{id}": {
96830+
"post": {
96831+
"description": "<p>Update a feature’s metadata or permanently deactivate it.</p>",
96832+
"operationId": "PostEntitlementsFeaturesId",
96833+
"parameters": [
96834+
{
96835+
"in": "path",
96836+
"name": "id",
96837+
"required": true,
96838+
"schema": {
96839+
"maxLength": 5000,
96840+
"type": "string"
96841+
},
96842+
"style": "simple"
96843+
}
96844+
],
96845+
"requestBody": {
96846+
"content": {
96847+
"application/x-www-form-urlencoded": {
96848+
"encoding": {
96849+
"expand": {
96850+
"explode": true,
96851+
"style": "deepObject"
96852+
},
96853+
"metadata": {
96854+
"explode": true,
96855+
"style": "deepObject"
96856+
}
96857+
},
96858+
"schema": {
96859+
"additionalProperties": false,
96860+
"properties": {
96861+
"active": {
96862+
"description": "Inactive features cannot be attached to new products and will not be returned from the features list endpoint.",
96863+
"type": "boolean"
96864+
},
96865+
"expand": {
96866+
"description": "Specifies which fields in the response should be expanded.",
96867+
"items": {
96868+
"maxLength": 5000,
96869+
"type": "string"
96870+
},
96871+
"type": "array"
96872+
},
96873+
"metadata": {
96874+
"additionalProperties": {
96875+
"type": "string"
96876+
},
96877+
"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.",
96878+
"type": "object"
96879+
},
96880+
"name": {
96881+
"description": "The feature's name, for your own purpose, not meant to be displayable to the customer.",
96882+
"maxLength": 80,
96883+
"type": "string"
96884+
}
96885+
},
96886+
"type": "object"
96887+
}
96888+
}
96889+
},
96890+
"required": false
96891+
},
96892+
"responses": {
96893+
"200": {
96894+
"content": {
96895+
"application/json": {
96896+
"schema": {
96897+
"$ref": "#/components/schemas/entitlements.feature"
96898+
}
96899+
}
96900+
},
96901+
"description": "Successful response."
96902+
},
96903+
"default": {
96904+
"content": {
96905+
"application/json": {
96906+
"schema": {
96907+
"$ref": "#/components/schemas/error"
96908+
}
96909+
}
96910+
},
96911+
"description": "Error response."
96912+
}
96913+
}
96914+
}
96915+
},
9682296916
"/v1/ephemeral_keys": {
9682396917
"post": {
9682496918
"description": "<p>Creates a short-lived API key for a given resource.</p>",

0 commit comments

Comments
 (0)