File tree Expand file tree Collapse file tree 8 files changed +28
-19
lines changed Expand file tree Collapse file tree 8 files changed +28
-19
lines changed Original file line number Diff line number Diff line change @@ -846,4 +846,14 @@ Based on:
846
846
### Generated
847
847
- [ typescript v1.56.1] .
848
848
### Releases
849
- - [ NPM v1.56.1] https://www.npmjs.com/package/@speakeasy-api/speakeasy-client-sdk-typescript/v/1.56.1 - .
849
+ - [ NPM v1.56.1] https://www.npmjs.com/package/@speakeasy-api/speakeasy-client-sdk-typescript/v/1.56.1 - .
850
+
851
+ ## 2023-09-09 00:10:25
852
+ ### Changes
853
+ Based on:
854
+ - OpenAPI Doc 0.3.0 https://docs.speakeasyapi.dev/openapi.yaml
855
+ - Speakeasy CLI 1.82.3 (2.107.3) https://github.com/speakeasy-api/speakeasy
856
+ ### Generated
857
+ - [ typescript v1.56.2] .
858
+ ### Releases
859
+ - [ NPM v1.56.2] https://www.npmjs.com/package/@speakeasy-api/speakeasy-client-sdk-typescript/v/1.56.2 - .
Original file line number Diff line number Diff line change 1
1
# GenerateOpenApiSpecDiff
2
2
3
- OK
4
-
5
3
6
4
## Fields
7
5
Original file line number Diff line number Diff line change @@ -2,24 +2,23 @@ configVersion: 1.0.0
2
2
management :
3
3
docChecksum : 8c4f3932e054e1b349a9a34f12cf7e8c
4
4
docVersion : 0.3.0
5
- speakeasyVersion : 1.79.0
6
- generationVersion : 2.101.0
5
+ speakeasyVersion : 1.82.3
6
+ generationVersion : 2.107.3
7
7
generation :
8
8
sdkClassName : speakeasy
9
9
singleTagPerOp : false
10
10
telemetryEnabled : true
11
11
features :
12
12
typescript :
13
13
acceptHeaders : 2.81.1
14
- core : 2.87.0
15
- docs : 0.1.0
14
+ core : 2.87.1
16
15
examples : 2.81.2
17
16
globalSecurity : 2.81.1
18
17
globalServerURLs : 2.82.0
19
18
inputOutputModels : 2.81.1
20
19
serverIDs : 2.81.1
21
20
typescript :
22
- version : 1.56.1
21
+ version : 1.56.2
23
22
author : Speakeasy
24
23
maxMethodParams : 0
25
24
packageName : ' @speakeasy-api/speakeasy-client-sdk-typescript'
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @speakeasy-api/speakeasy-client-sdk-typescript" ,
3
- "version" : " 1.56.1 " ,
3
+ "version" : " 1.56.2 " ,
4
4
"author" : " Speakeasy" ,
5
5
"scripts" : {
6
6
"prepare" : " tsc --build"
Original file line number Diff line number Diff line change @@ -24,12 +24,12 @@ export class BackoffStrategy {
24
24
}
25
25
26
26
export class RetryConfig {
27
- strategy : string ;
27
+ strategy : "backoff" | "none" ;
28
28
backoff ?: BackoffStrategy ;
29
29
retryConnectionErrors : boolean ;
30
30
31
31
constructor (
32
- strategy : string ,
32
+ strategy : "backoff" | "none" ,
33
33
backoff ?: BackoffStrategy ,
34
34
retryConnectionErrors = true
35
35
) {
Original file line number Diff line number Diff line change 5
5
import { SpeakeasyBase , SpeakeasyMetadata } from "../../../internal/utils" ;
6
6
import { Expose } from "class-transformer" ;
7
7
8
- /**
9
- * OK
10
- */
11
8
export class GenerateOpenApiSpecDiff extends SpeakeasyBase {
12
9
@SpeakeasyMetadata ( )
13
10
@Expose ( { name : "current_schema" } )
Original file line number Diff line number Diff line change @@ -46,6 +46,10 @@ export type SDKProps = {
46
46
* Allows overriding the default server URL used by the SDK
47
47
*/
48
48
serverURL ?: string ;
49
+ /**
50
+ * Allows overriding the default retry config used by the SDK
51
+ */
52
+ retryConfig ?: utils . RetryConfig ;
49
53
} ;
50
54
51
55
export class SDKConfiguration {
@@ -55,9 +59,9 @@ export class SDKConfiguration {
55
59
serverDefaults : any ;
56
60
language = "typescript" ;
57
61
openapiDocVersion = "0.3.0" ;
58
- sdkVersion = "1.56.1 " ;
59
- genVersion = "2.101.0 " ;
60
-
62
+ sdkVersion = "1.56.2 " ;
63
+ genVersion = "2.107.3 " ;
64
+ retryConfig ?: utils . RetryConfig ;
61
65
public constructor ( init ?: Partial < SDKConfiguration > ) {
62
66
Object . assign ( this , init ) ;
63
67
}
@@ -113,6 +117,7 @@ export class Speakeasy {
113
117
defaultClient : defaultClient ,
114
118
security : props ?. security ,
115
119
serverURL : serverURL ,
120
+ retryConfig : props ?. retryConfig ,
116
121
} ) ;
117
122
118
123
this . apiEndpoints = new ApiEndpoints ( this . sdkConfiguration ) ;
You can’t perform that action at this time.
0 commit comments