Skip to content

Commit 5c3d908

Browse files
Update OpenAPI specification for beta
1 parent ae4a915 commit 5c3d908

File tree

2 files changed

+126
-0
lines changed

2 files changed

+126
-0
lines changed

openapi/spec3.beta.sdk.json

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80352,6 +80352,13 @@
8035280352
"method_type": "custom",
8035380353
"operation": "post",
8035480354
"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"
8035580362
}
8035680363
],
8035780364
"x-stripeResource": {
@@ -241927,6 +241934,74 @@
241927241934
"summary": "Simulate succeeding an input collection"
241928241935
}
241929241936
},
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+
},
241930242005
"/v1/test_helpers/test_clocks": {
241931242006
"get": {
241932242007
"description": "<p>Returns a list of your test clocks.</p>",

openapi/spec3.beta.sdk.yaml

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72879,6 +72879,11 @@ components:
7287972879
method_type: custom
7288072880
operation: post
7288172881
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'
7288272887
x-stripeResource:
7288372888
class_name: Reader
7288472889
has_collection_class: true
@@ -227448,6 +227453,52 @@ paths:
227448227453
$ref: '#/components/schemas/error'
227449227454
description: Error response.
227450227455
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
227451227502
/v1/test_helpers/test_clocks:
227452227503
get:
227453227504
description: <p>Returns a list of your test clocks.</p>

0 commit comments

Comments
 (0)