Skip to content

Commit

Permalink
Update OpenAPI for 53746f899ccd8d06cb4aac0776f0cbdceb99d5ef
Browse files Browse the repository at this point in the history
  • Loading branch information
stripe-openapi[bot] committed Jul 25, 2024
1 parent f880e55 commit 6326a80
Show file tree
Hide file tree
Showing 2 changed files with 179 additions and 0 deletions.
93 changes: 93 additions & 0 deletions embedded/openapi/spec3.beta.sdk.json
Original file line number Diff line number Diff line change
Expand Up @@ -8322,6 +8322,13 @@
"operation": "post",
"path": "/v1/checkout/sessions"
},
{
"method_name": "update",
"method_on": "service",
"method_type": "update",
"operation": "post",
"path": "/v1/checkout/sessions/{session}"
},
{
"method_name": "expire",
"method_on": "service",
Expand Down Expand Up @@ -92756,6 +92763,92 @@
"description": "Error response."
}
}
},
"post": {
"description": "<p>Updates a Session object.</p>",
"operationId": "PostCheckoutSessionsSession",
"parameters": [
{
"in": "path",
"name": "session",
"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": {
"expand": {
"description": "Specifies which fields in the response should be expanded.",
"items": {
"maxLength": 5000,
"type": "string"
},
"type": "array"
},
"metadata": {
"anyOf": [
{
"additionalProperties": {
"type": "string"
},
"type": "object"
},
{
"enum": [
""
],
"type": "string"
}
],
"description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`."
}
},
"type": "object"
}
}
},
"required": false
},
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/checkout.session"
}
}
},
"description": "Successful response."
},
"default": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error"
}
}
},
"description": "Error response."
}
}
}
},
"/v1/checkout/sessions/{session}/expire": {
Expand Down
86 changes: 86 additions & 0 deletions embedded/openapi/spec3.json
Original file line number Diff line number Diff line change
Expand Up @@ -68259,6 +68259,92 @@
"description": "Error response."
}
}
},
"post": {
"description": "<p>Updates a Session object.</p>",
"operationId": "PostCheckoutSessionsSession",
"parameters": [
{
"in": "path",
"name": "session",
"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": {
"expand": {
"description": "Specifies which fields in the response should be expanded.",
"items": {
"maxLength": 5000,
"type": "string"
},
"type": "array"
},
"metadata": {
"anyOf": [
{
"additionalProperties": {
"type": "string"
},
"type": "object"
},
{
"enum": [
""
],
"type": "string"
}
],
"description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`."
}
},
"type": "object"
}
}
},
"required": false
},
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/checkout.session"
}
}
},
"description": "Successful response."
},
"default": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error"
}
}
},
"description": "Error response."
}
}
}
},
"/v1/checkout/sessions/{session}/expire": {
Expand Down

0 comments on commit 6326a80

Please sign in to comment.