Skip to content

Commit 5559142

Browse files
committed
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.514.0
1 parent 161d384 commit 5559142

File tree

12 files changed

+273
-384
lines changed

12 files changed

+273
-384
lines changed

.gitignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
/examples/node_modules
2+
.DS_Store
3+
**/.speakeasy/temp/
4+
**/.speakeasy/logs/
5+
.DS_Store
6+
.env
7+
.env.local
8+
.env.*.local
19
/mcp-server
210
/bin
311
/.eslintcache

.speakeasy/gen.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
lockVersion: 2.0.0
22
id: 521af75f-d011-41f9-a5ff-9f8033773118
33
management:
4-
docChecksum: 80bdf0b395520d76da9a1e1e2896dae0
4+
docChecksum: 2bf97fa8e6ca517b859cc9784a1260b5
55
docVersion: 0.4.0
66
speakeasyVersion: 1.514.0
77
generationVersion: 2.546.0
8-
releaseVersion: 2.4.0-beta
9-
configChecksum: ef5d56dcfd4f4ba9e07e1a535f410421
8+
releaseVersion: 2.4.0-beta.2
9+
configChecksum: c46222ef096c15c9d1d6ed8efc291f13
1010
repoURL: https://github.com/speakeasy-api/speakeasy-code-samples-ts.git
1111
installationURL: https://github.com/speakeasy-api/speakeasy-code-samples-ts
1212
published: true
@@ -130,7 +130,7 @@ examples:
130130
languages: ["python", "javascript"]
131131
responses:
132132
2XX:
133-
application/json: {"snippets": [{"path": "/sbin", "method": "<value>", "operationId": "<id>", "language": "php,", "code": "<value>"}, {"path": "/root", "method": "<value>", "operationId": "<id>", "language": "unity,", "code": "<value>"}]}
133+
application/json: {"snippets": [{"path": "/sbin", "method": "<value>", "operationId": "<id>", "language": "<value>", "code": "<value>"}, {"path": "/root", "method": "<value>", "operationId": "<id>", "language": "<value>", "code": "<value>"}]}
134134
4XX:
135135
application/json: {"message": "<value>", "status_code": 521235}
136136
default:

.speakeasy/gen.yaml

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,23 @@ generation:
77
maintainOpenAPIOrder: true
88
usageSnippets:
99
optionalPropertyRendering: withExample
10+
sdkInitStyle: constructor
1011
useClassNamesForArrayFields: true
1112
fixes:
1213
nameResolutionFeb2025: false
1314
parameterOrderingFeb2024: false
1415
requestResponseComponentNamesFeb2024: false
1516
securityFeb2025: false
17+
sharedErrorComponentsApr2025: false
1618
auth:
1719
oAuth2ClientCredentialsEnabled: false
1820
oAuth2PasswordEnabled: false
21+
requestBodyFieldName: ""
22+
schemas:
23+
allOfMergeStrategy: shallowMerge
1924
typescript:
20-
version: 2.4.0-beta
25+
version: 2.4.0-beta.2
26+
acceptHeaderEnum: true
2127
additionalDependencies:
2228
dependencies:
2329
'@emotion/css': ^11.13.5
@@ -27,15 +33,21 @@ typescript:
2733
'@types/react': ^18.3.18
2834
peerDependencies: {}
2935
additionalPackageJSON: {}
36+
additionalScripts: {}
37+
alwaysIncludeInboundAndOutbound: false
3038
author: Speakeasy
39+
baseErrorName: SpeakeasyCodeSamplesError
3140
clientServerStatusCodesAsErrors: true
41+
constFieldsAlwaysOptional: true
3242
defaultErrorName: APIError
3343
enableCustomCodeRegions: false
3444
enableMCPServer: true
3545
enableReactQuery: true
3646
enumFormat: union
47+
exportZodModelNamespace: false
3748
flattenGlobalSecurity: true
3849
flatteningOrder: body-first
50+
generateExamples: true
3951
imports:
4052
option: openapi
4153
paths:
@@ -48,9 +60,14 @@ typescript:
4860
jsonpath: legacy
4961
maxMethodParams: 1
5062
methodArguments: require-security-and-request
63+
modelPropertyCasing: camel
5164
moduleFormat: esm
5265
outputModelSuffix: output
5366
packageName: '@speakeasyapi/code-samples'
5467
responseFormat: flat
68+
sseFlatResponse: false
5569
templateVersion: v2
70+
unionStrategy: left-to-right
71+
usageSDKInitImports: []
5672
useIndexModules: true
73+
zodVersion: v3

.speakeasy/workflow.lock

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,20 @@ speakeasyVersion: 1.514.0
22
sources:
33
speakeasy-OAS:
44
sourceNamespace: speakeasy-oas
5-
sourceRevisionDigest: sha256:c95b7bde7a889f8d6461e405347f2dac28defaaf6a36cc19709b4ce29f4eaefb
6-
sourceBlobDigest: sha256:706c912b2e5755fdaff8d2a95ca3ce6fb1fff777a7aa49a8afcb0b909cc22892
5+
sourceRevisionDigest: sha256:fe90a8416878ccd977d4943bbc866ae3e1416cd82cbd596c785bfe09a0a68b07
6+
sourceBlobDigest: sha256:6d02c1da40b091bd5926fb3870db4b4a29a4f853f6b373763afda1e0969ea73d
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1741642416
9+
- speakeasy-sdk-regen-1746489958
1010
- 0.4.0
1111
targets:
1212
code_samples_typescript_sdk:
1313
source: speakeasy-OAS
1414
sourceNamespace: speakeasy-oas
15-
sourceRevisionDigest: sha256:c95b7bde7a889f8d6461e405347f2dac28defaaf6a36cc19709b4ce29f4eaefb
16-
sourceBlobDigest: sha256:706c912b2e5755fdaff8d2a95ca3ce6fb1fff777a7aa49a8afcb0b909cc22892
15+
sourceRevisionDigest: sha256:fe90a8416878ccd977d4943bbc866ae3e1416cd82cbd596c785bfe09a0a68b07
16+
sourceBlobDigest: sha256:6d02c1da40b091bd5926fb3870db4b4a29a4f853f6b373763afda1e0969ea73d
1717
codeSamplesNamespace: speakeasy-oas-typescript-code-samples
18-
codeSamplesRevisionDigest: sha256:73a780b60ccc00d5344b505208070173d62dfcb9013e97f8f123e322230d6afe
18+
codeSamplesRevisionDigest: sha256:9491f6ed10357fd1524b60618970de7f5f2e9cbbebe0e600dd6074c9fd454eca
1919
workflow:
2020
workflowVersion: 1.0.0
2121
speakeasyVersion: latest

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -583,9 +583,9 @@ In some rare cases, the SDK can fail to get a response from the server or even m
583583

584584
You can override the default server globally by passing a server name to the `server: keyof typeof ServerList` optional parameter when initializing the SDK client instance. The selected server will then be used as the default on the operations that use it. This table lists the names associated with the available servers:
585585

586-
| Name | Server | Description |
587-
| ------ | ----------------------------------- | ----------- |
588-
| `prod` | `https://api.prod.speakeasyapi.dev` | |
586+
| Name | Server | Description |
587+
| ------ | -------------------------------- | ----------- |
588+
| `prod` | `https://api.prod.speakeasy.com` | |
589589

590590
#### Example
591591

@@ -631,7 +631,7 @@ The default server can also be overridden globally by passing a URL to the `serv
631631
import { SpeakeasyCodeSamples } from "@speakeasyapi/code-samples";
632632

633633
const speakeasyCodeSamples = new SpeakeasyCodeSamples({
634-
serverURL: "https://api.prod.speakeasyapi.dev",
634+
serverURL: "https://api.prod.speakeasy.com",
635635
apiKey: "<YOUR_API_KEY_HERE>",
636636
registryUrl: "https://spec.speakeasy.com/org/ws/my-source",
637637
});

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,4 +132,14 @@ Based on:
132132
### Generated
133133
- [typescript v2.4.0-beta] .
134134
### Releases
135-
- [NPM v2.4.0-beta] https://www.npmjs.com/package/@speakeasyapi/code-samples/v/2.4.0-beta - .
135+
- [NPM v2.4.0-beta] https://www.npmjs.com/package/@speakeasyapi/code-samples/v/2.4.0-beta - .
136+
137+
## 2025-11-19 00:05:59
138+
### Changes
139+
Based on:
140+
- OpenAPI Doc
141+
- Speakeasy CLI 1.514.0 (2.546.0) https://github.com/speakeasy-api/speakeasy
142+
### Generated
143+
- [typescript v2.4.0-beta.2] .
144+
### Releases
145+
- [NPM v2.4.0-beta.2] https://www.npmjs.com/package/@speakeasyapi/code-samples/v/2.4.0-beta.2 - .

jsr.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
{
44
"name": "@speakeasyapi/code-samples",
5-
"version": "2.4.0-beta",
5+
"version": "2.4.0-beta.2",
66
"exports": {
77
".": "./src/index.ts",
88
"./models/errors": "./src/models/errors/index.ts",

0 commit comments

Comments
 (0)