Skip to content

Commit 1c07f0a

Browse files
authored
Merge pull request #24 from Dwolla/DEV-1805
DEV-1805: Add Retries and Timeout config to overlay file
2 parents b08fb56 + 414d71c commit 1c07f0a

File tree

5 files changed

+19
-6
lines changed

5 files changed

+19
-6
lines changed

.speakeasy/gen.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ id: 53ac026a-ff11-435d-914b-31df5268afb0
33
management:
44
docChecksum: 67585827410652e1e5f03d8b8a95f20a
55
docVersion: "2.0"
6-
speakeasyVersion: 1.631.5
7-
generationVersion: 2.716.16
6+
speakeasyVersion: 1.632.0
7+
generationVersion: 2.719.3
88
releaseVersion: 0.0.1-beta.7
99
configChecksum: 5c85c22ddfd9630e89b906563d051edd
1010
repoURL: https://github.com/Dwolla/dwolla-typescript.git
@@ -14,7 +14,7 @@ features:
1414
typescript:
1515
additionalDependencies: 0.1.0
1616
constsAndDefaults: 0.1.12
17-
core: 3.21.25
17+
core: 3.21.26
1818
defaultEnabledRetries: 0.1.0
1919
devContainers: 2.90.1
2020
enumUnions: 0.1.0

.speakeasy/gen.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ generation:
2727
skipResponseBodyAssertions: false
2828
typescript:
2929
version: 0.0.1-beta.7
30+
acceptHeaderEnum: true
3031
additionalDependencies:
3132
dependencies: {}
3233
devDependencies: {}

.speakeasy/overlay.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,18 @@ x-speakeasy-jsonpath: rfc9535
33
info:
44
title: Typescript SDK Overlay
55
version: 0.0.0
6+
x-speakeasy-timeout: 60000
7+
x-speakeasy-retries:
8+
strategy: backoff
9+
backoff:
10+
initialInterval: 2000 # 2 seconds
11+
maxInterval: 300000 # 300 seconds
12+
maxElapsedTime: 1800000 # 1800 seconds
13+
exponent: 2
14+
statusCodes:
15+
- 429 # Rate limit errors (both concurrency and volume-based)
16+
- 5XX # Server errors
17+
retryConnectionErrors: true
618
actions:
719
# Override Speakeasy server-id for each server
820
- target: $.servers[0]

.speakeasy/workflow.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
speakeasyVersion: 1.631.5
1+
speakeasyVersion: 1.632.0
22
sources:
33
Dwolla API:
44
sourceNamespace: dwolla-api

src/lib/config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,6 @@ export const SDK_METADATA = {
6969
language: "typescript",
7070
openapiDocVersion: "2.0",
7171
sdkVersion: "0.0.1-beta.7",
72-
genVersion: "2.716.16",
73-
userAgent: "speakeasy-sdk/typescript 0.0.1-beta.7 2.716.16 2.0 dwolla",
72+
genVersion: "2.719.3",
73+
userAgent: "speakeasy-sdk/typescript 0.0.1-beta.7 2.719.3 2.0 dwolla",
7474
} as const;

0 commit comments

Comments
 (0)