Skip to content

Commit

Permalink
Update OpenAPI specification for beta
Browse files Browse the repository at this point in the history
  • Loading branch information
stripe-openapi[bot] committed Feb 24, 2025
1 parent ae4a915 commit 5c3d908
Show file tree
Hide file tree
Showing 2 changed files with 126 additions and 0 deletions.
75 changes: 75 additions & 0 deletions openapi/spec3.beta.sdk.json
Original file line number Diff line number Diff line change
Expand Up @@ -80352,6 +80352,13 @@
"method_type": "custom",
"operation": "post",
"path": "/v1/test_helpers/terminal/readers/{reader}/succeed_input_collection"
},
{
"method_name": "timeout_input_collection",
"method_on": "service",
"method_type": "custom",
"operation": "post",
"path": "/v1/test_helpers/terminal/readers/{reader}/timeout_input_collection"
}
],
"x-stripeResource": {
Expand Down Expand Up @@ -241927,6 +241934,74 @@
"summary": "Simulate succeeding an input collection"
}
},
"/v1/test_helpers/terminal/readers/{reader}/timeout_input_collection": {
"post": {
"description": "<p>Completes an input collection with a timeout error on a simulated reader.</p>",
"operationId": "PostTestHelpersTerminalReadersReaderTimeoutInputCollection",
"parameters": [
{
"in": "path",
"name": "reader",
"required": true,
"schema": {
"maxLength": 5000,
"type": "string"
},
"style": "simple"
}
],
"requestBody": {
"content": {
"application/x-www-form-urlencoded": {
"encoding": {
"expand": {
"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"
}
},
"type": "object"
}
}
},
"required": false
},
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/terminal.reader"
}
}
},
"description": "Successful response."
},
"default": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/error"
}
}
},
"description": "Error response."
}
},
"summary": "Simulate an input collection timeout"
}
},
"/v1/test_helpers/test_clocks": {
"get": {
"description": "<p>Returns a list of your test clocks.</p>",
Expand Down
51 changes: 51 additions & 0 deletions openapi/spec3.beta.sdk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72879,6 +72879,11 @@ components:
method_type: custom
operation: post
path: '/v1/test_helpers/terminal/readers/{reader}/succeed_input_collection'
- method_name: timeout_input_collection
method_on: service
method_type: custom
operation: post
path: '/v1/test_helpers/terminal/readers/{reader}/timeout_input_collection'
x-stripeResource:
class_name: Reader
has_collection_class: true
Expand Down Expand Up @@ -227448,6 +227453,52 @@ paths:
$ref: '#/components/schemas/error'
description: Error response.
summary: Simulate succeeding an input collection
'/v1/test_helpers/terminal/readers/{reader}/timeout_input_collection':
post:
description: >-
<p>Completes an input collection with a timeout error on a simulated
reader.</p>
operationId: PostTestHelpersTerminalReadersReaderTimeoutInputCollection
parameters:
- in: path
name: reader
required: true
schema:
maxLength: 5000
type: string
style: simple
requestBody:
content:
application/x-www-form-urlencoded:
encoding:
expand:
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
type: object
required: false
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/terminal.reader'
description: Successful response.
default:
content:
application/json:
schema:
$ref: '#/components/schemas/error'
description: Error response.
summary: Simulate an input collection timeout
/v1/test_helpers/test_clocks:
get:
description: <p>Returns a list of your test clocks.</p>
Expand Down

0 comments on commit 5c3d908

Please sign in to comment.