File tree Expand file tree Collapse file tree 2 files changed +126
-0
lines changed Expand file tree Collapse file tree 2 files changed +126
-0
lines changed Original file line number Diff line number Diff line change 80352
80352
"method_type": "custom",
80353
80353
"operation": "post",
80354
80354
"path": "/v1/test_helpers/terminal/readers/{reader}/succeed_input_collection"
80355
+ },
80356
+ {
80357
+ "method_name": "timeout_input_collection",
80358
+ "method_on": "service",
80359
+ "method_type": "custom",
80360
+ "operation": "post",
80361
+ "path": "/v1/test_helpers/terminal/readers/{reader}/timeout_input_collection"
80355
80362
}
80356
80363
],
80357
80364
"x-stripeResource": {
@@ -241927,6 +241934,74 @@
241927
241934
"summary": "Simulate succeeding an input collection"
241928
241935
}
241929
241936
},
241937
+ "/v1/test_helpers/terminal/readers/{reader}/timeout_input_collection": {
241938
+ "post": {
241939
+ "description": "<p>Completes an input collection with a timeout error on a simulated reader.</p>",
241940
+ "operationId": "PostTestHelpersTerminalReadersReaderTimeoutInputCollection",
241941
+ "parameters": [
241942
+ {
241943
+ "in": "path",
241944
+ "name": "reader",
241945
+ "required": true,
241946
+ "schema": {
241947
+ "maxLength": 5000,
241948
+ "type": "string"
241949
+ },
241950
+ "style": "simple"
241951
+ }
241952
+ ],
241953
+ "requestBody": {
241954
+ "content": {
241955
+ "application/x-www-form-urlencoded": {
241956
+ "encoding": {
241957
+ "expand": {
241958
+ "explode": true,
241959
+ "style": "deepObject"
241960
+ }
241961
+ },
241962
+ "schema": {
241963
+ "additionalProperties": false,
241964
+ "properties": {
241965
+ "expand": {
241966
+ "description": "Specifies which fields in the response should be expanded.",
241967
+ "items": {
241968
+ "maxLength": 5000,
241969
+ "type": "string"
241970
+ },
241971
+ "type": "array"
241972
+ }
241973
+ },
241974
+ "type": "object"
241975
+ }
241976
+ }
241977
+ },
241978
+ "required": false
241979
+ },
241980
+ "responses": {
241981
+ "200": {
241982
+ "content": {
241983
+ "application/json": {
241984
+ "schema": {
241985
+ "$ref": "#/components/schemas/terminal.reader"
241986
+ }
241987
+ }
241988
+ },
241989
+ "description": "Successful response."
241990
+ },
241991
+ "default": {
241992
+ "content": {
241993
+ "application/json": {
241994
+ "schema": {
241995
+ "$ref": "#/components/schemas/error"
241996
+ }
241997
+ }
241998
+ },
241999
+ "description": "Error response."
242000
+ }
242001
+ },
242002
+ "summary": "Simulate an input collection timeout"
242003
+ }
242004
+ },
241930
242005
"/v1/test_helpers/test_clocks": {
241931
242006
"get": {
241932
242007
"description": "<p>Returns a list of your test clocks.</p>",
Original file line number Diff line number Diff line change @@ -72879,6 +72879,11 @@ components:
72879
72879
method_type: custom
72880
72880
operation: post
72881
72881
path: '/v1/test_helpers/terminal/readers/{reader}/succeed_input_collection'
72882
+ - method_name: timeout_input_collection
72883
+ method_on: service
72884
+ method_type: custom
72885
+ operation: post
72886
+ path: '/v1/test_helpers/terminal/readers/{reader}/timeout_input_collection'
72882
72887
x-stripeResource:
72883
72888
class_name: Reader
72884
72889
has_collection_class: true
@@ -227448,6 +227453,52 @@ paths:
227448
227453
$ref: '#/components/schemas/error'
227449
227454
description: Error response.
227450
227455
summary: Simulate succeeding an input collection
227456
+ '/v1/test_helpers/terminal/readers/{reader}/timeout_input_collection':
227457
+ post:
227458
+ description: >-
227459
+ <p>Completes an input collection with a timeout error on a simulated
227460
+ reader.</p>
227461
+ operationId: PostTestHelpersTerminalReadersReaderTimeoutInputCollection
227462
+ parameters:
227463
+ - in: path
227464
+ name: reader
227465
+ required: true
227466
+ schema:
227467
+ maxLength: 5000
227468
+ type: string
227469
+ style: simple
227470
+ requestBody:
227471
+ content:
227472
+ application/x-www-form-urlencoded:
227473
+ encoding:
227474
+ expand:
227475
+ explode: true
227476
+ style: deepObject
227477
+ schema:
227478
+ additionalProperties: false
227479
+ properties:
227480
+ expand:
227481
+ description: Specifies which fields in the response should be expanded.
227482
+ items:
227483
+ maxLength: 5000
227484
+ type: string
227485
+ type: array
227486
+ type: object
227487
+ required: false
227488
+ responses:
227489
+ '200':
227490
+ content:
227491
+ application/json:
227492
+ schema:
227493
+ $ref: '#/components/schemas/terminal.reader'
227494
+ description: Successful response.
227495
+ default:
227496
+ content:
227497
+ application/json:
227498
+ schema:
227499
+ $ref: '#/components/schemas/error'
227500
+ description: Error response.
227501
+ summary: Simulate an input collection timeout
227451
227502
/v1/test_helpers/test_clocks:
227452
227503
get:
227453
227504
description: <p>Returns a list of your test clocks.</p>
You can’t perform that action at this time.
0 commit comments