Skip to content

Commit bef6e78

Browse files
committed
made spec field type fixes
1 parent 9673cca commit bef6e78

25 files changed

Lines changed: 81 additions & 68 deletions

.speakeasy/gen.lock

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
lockVersion: 2.0.0
22
id: 59dcfa56-8330-4162-8246-092811fc63e8
33
management:
4-
docChecksum: 5acdae0a70614cfd93654b83a2258a10
4+
docChecksum: abec2e5d6ba7e601ebea49216ad818c9
55
docVersion: v1
6-
speakeasyVersion: 1.589.0
7-
generationVersion: 2.664.0
8-
releaseVersion: 0.1.0
9-
configChecksum: bf6a7c2dcadbf8a8cfe0964496227b99
6+
speakeasyVersion: 1.598.3
7+
generationVersion: 2.674.3
8+
releaseVersion: 0.3.0
9+
configChecksum: 18d90df5eabb64218ad1dbfe57905c67
1010
features:
1111
python:
1212
additionalDependencies: 1.0.0
13-
core: 5.19.4
13+
core: 5.19.7
1414
defaultEnabledRetries: 0.2.0
1515
devContainers: 3.0.0
1616
enumUnions: 0.1.0
@@ -143,7 +143,7 @@ examples:
143143
speakeasy-default-get-product:
144144
parameters:
145145
path:
146-
productId: 681031
146+
productId: "681031"
147147
responses:
148148
"200":
149149
application/json: {"id": "sp_Tlj0Osm0N76T", "name": "Bolt Subscription Product", "description": "This is a subscription product.", "sku": "BOLT-12345", "created_at": "2023-10-01T12:00:00Z", "updated_at": "2023-10-01T12:00:00Z", "plans": [{"id": "spl_ba_PpkW16oIW", "name": "Monthly Subscription", "sku": "BOLT-12345", "created_at": "2023-10-01T12:00:00Z", "updated_at": "2023-10-01T12:00:00Z", "frequency": 1, "product_id": "sp_Tlj0Osm0N76T", "frequency_unit": "month", "checkout_link": "https://your_site.c.bolt.com/g?merchant_product_id=37&merchant_variant_id=67&publishable_key=BQ9PKQksUGtj.Q9LwVLfV3WF4.32122926f7b9651a416a5099dc92dc2b4c87c8b922c114229f83b345d65f1195"}], "images": ["https://example.com/image1.jpg", "https://example.com/image2.jpg"]}
@@ -159,31 +159,31 @@ examples:
159159
speakeasy-default-post-/v1-/subscriptions/{subscription-id}/pause:
160160
parameters:
161161
path:
162-
subscriptionId: 921987
162+
subscriptionId: "921987"
163163
responses:
164164
"200":
165165
application/json: {}
166166
post_/v1/subscriptions/{subscriptionId}/unpause:
167167
speakeasy-default-post-/v1-/subscriptions/{subscription-id}/unpause:
168168
parameters:
169169
path:
170-
subscriptionId: 438513
170+
subscriptionId: "438513"
171171
responses:
172172
"200":
173173
application/json: {}
174174
cancelSubscription:
175175
speakeasy-default-cancel-subscription:
176176
parameters:
177177
path:
178-
subscriptionId: 111224
178+
subscriptionId: "111224"
179179
responses:
180180
"200":
181181
application/json: {}
182182
getSubscription:
183183
speakeasy-default-get-subscription:
184184
parameters:
185185
path:
186-
subscriptionId: 186713
186+
subscriptionId: "186713"
187187
responses:
188188
"200":
189189
application/json: {"id": "s_1234567890", "subscription_plan_id": "spl_ba_PpkW16oIW", "status": "active", "plan": {"id": "spl_ba_PpkW16oIW", "name": "Monthly Subscription", "sku": "BOLT-12345", "created_at": "2023-10-01T12:00:00Z", "updated_at": "2023-10-01T12:00:00Z", "frequency": 1, "product_id": "sp_Tlj0Osm0N76T", "frequency_unit": "month", "checkout_link": "https://your_site.c.bolt.com/g?merchant_product_id=37&merchant_variant_id=67&publishable_key=BQ9PKQksUGtj.Q9LwVLfV3WF4.32122926f7b9651a416a5099dc92dc2b4c87c8b922c114229f83b345d65f1195"}}

.speakeasy/gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ generation:
2525
generateNewTests: true
2626
skipResponseBodyAssertions: false
2727
python:
28-
version: 0.1.0
28+
version: 0.3.0
2929
additionalDependencies:
3030
dev: {}
3131
main: {}

.speakeasy/out.openapi.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ paths:
159159
- in: path
160160
name: productId
161161
schema:
162-
type: integer
162+
type: string
163163
required: true
164164
description: ID of the product to retrieve.
165165
responses:
@@ -249,7 +249,7 @@ paths:
249249
- in: path
250250
name: subscriptionId
251251
schema:
252-
type: integer
252+
type: string
253253
required: true
254254
description: ID of the subscription to pause.
255255
responses:
@@ -278,7 +278,7 @@ paths:
278278
- in: path
279279
name: subscriptionId
280280
schema:
281-
type: integer
281+
type: string
282282
required: true
283283
description: ID of the subscription to unpause.
284284
responses:
@@ -308,7 +308,7 @@ paths:
308308
- in: path
309309
name: subscriptionId
310310
schema:
311-
type: integer
311+
type: string
312312
required: true
313313
description: ID of the subscription to cancel.
314314
responses:
@@ -336,7 +336,7 @@ paths:
336336
- in: path
337337
name: subscriptionId
338338
schema:
339-
type: integer
339+
type: string
340340
required: true
341341
description: ID of the subscription to retrieve.
342342
responses:

.speakeasy/workflow.lock

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
1-
speakeasyVersion: 1.589.0
1+
speakeasyVersion: 1.598.3
22
sources:
33
Subscriptions API:
44
sourceNamespace: subscriptions-api
5-
sourceRevisionDigest: sha256:1484818d487da3ba5ca9c93c6a1791a948f766267c1e4efafaa16d8984b8a144
6-
sourceBlobDigest: sha256:59e038c3c2132a87b4bed8fcc81ad5ebd8cc141b6b4e9faf5ac814202c638b7a
5+
sourceRevisionDigest: sha256:e617088551fc0371a95717d18f22b8fd2bf499cd2e7fe055e5d4e7f4e74d5f8e
6+
sourceBlobDigest: sha256:4bad90deedeb8a2e0a48ebd5446f1056436f1c18bb4c88b8cd3735d075f95510
77
tags:
88
- latest
99
- v1
1010
targets:
1111
bolt:
1212
source: Subscriptions API
1313
sourceNamespace: subscriptions-api
14-
sourceRevisionDigest: sha256:1484818d487da3ba5ca9c93c6a1791a948f766267c1e4efafaa16d8984b8a144
15-
sourceBlobDigest: sha256:59e038c3c2132a87b4bed8fcc81ad5ebd8cc141b6b4e9faf5ac814202c638b7a
14+
sourceRevisionDigest: sha256:e617088551fc0371a95717d18f22b8fd2bf499cd2e7fe055e5d4e7f4e74d5f8e
15+
sourceBlobDigest: sha256:4bad90deedeb8a2e0a48ebd5446f1056436f1c18bb4c88b8cd3735d075f95510
1616
codeSamplesNamespace: subscriptions-api-python-code-samples
17-
codeSamplesRevisionDigest: sha256:3ef7f9c55470fddc45db95bd7ab5d25e27d16c9d2f5510ae81e82dc05353dd3e
17+
codeSamplesRevisionDigest: sha256:09ecade3c1374fe1e0e44e0a6ab5b448fc0968c20e9e079d5d8c75998d4a090a
1818
workflow:
1919
workflowVersion: 1.0.0
2020
speakeasyVersion: latest

docs/models/cancelsubscriptionrequest.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55

66
| Field | Type | Required | Description |
77
| --------------------------------- | --------------------------------- | --------------------------------- | --------------------------------- |
8-
| `subscription_id` | *int* | :heavy_check_mark: | ID of the subscription to cancel. |
8+
| `subscription_id` | *str* | :heavy_check_mark: | ID of the subscription to cancel. |

docs/models/getproductrequest.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55

66
| Field | Type | Required | Description |
77
| ------------------------------ | ------------------------------ | ------------------------------ | ------------------------------ |
8-
| `product_id` | *int* | :heavy_check_mark: | ID of the product to retrieve. |
8+
| `product_id` | *str* | :heavy_check_mark: | ID of the product to retrieve. |

docs/models/getsubscriptionrequest.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55

66
| Field | Type | Required | Description |
77
| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- |
8-
| `subscription_id` | *int* | :heavy_check_mark: | ID of the subscription to retrieve. |
8+
| `subscription_id` | *str* | :heavy_check_mark: | ID of the subscription to retrieve. |

docs/models/postv1subscriptionssubscriptionidpauserequest.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55

66
| Field | Type | Required | Description |
77
| -------------------------------- | -------------------------------- | -------------------------------- | -------------------------------- |
8-
| `subscription_id` | *int* | :heavy_check_mark: | ID of the subscription to pause. |
8+
| `subscription_id` | *str* | :heavy_check_mark: | ID of the subscription to pause. |

docs/models/postv1subscriptionssubscriptionidunpauserequest.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55

66
| Field | Type | Required | Description |
77
| ---------------------------------- | ---------------------------------- | ---------------------------------- | ---------------------------------- |
8-
| `subscription_id` | *int* | :heavy_check_mark: | ID of the subscription to unpause. |
8+
| `subscription_id` | *str* | :heavy_check_mark: | ID of the subscription to unpause. |

docs/sdks/plans/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ Retrieves a list of plans
1313

1414
### Example Usage
1515

16+
<!-- UsageSnippet language="python" operationID="getPlans" method="get" path="/v1/subscriptions/plans" -->
1617
```python
1718
from bolt_api_sdk import Bolt, models
1819
import os

0 commit comments

Comments
 (0)