@@ -3,17 +3,17 @@ id: 521af75f-d011-41f9-a5ff-9f8033773118
33management:
44 docChecksum: a16089f06495dd5f7de1f5121d72ec45
55 docVersion: 0.4.0
6- speakeasyVersion: 1.469 .1
7- generationVersion: 2.493.21
8- releaseVersion: 2.1.5
9- configChecksum: 04582a1dd2d7ea07d7682cb354d2593a
6+ speakeasyVersion: 1.484 .1
7+ generationVersion: 2.503.2
8+ releaseVersion: 2.1.6
9+ configChecksum: 21f134167daabccf2f501cd418de0227
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
1313features:
1414 typescript:
1515 additionalDependencies: 0.1.0
16- core: 3.18.16
16+ core: 3.18.22
1717 deepObjectParams: 0.1.0
1818 defaultEnabledRetries: 0.1.0
1919 devContainers: 2.90.0
@@ -23,7 +23,7 @@ features:
2323 globalSecurityCallbacks: 0.1.0
2424 globalSecurityFlattening: 0.1.0
2525 globalServerURLs: 2.82.4
26- globals: 2.82.1
26+ globals: 2.82.2
2727 groups: 2.81.2
2828 nameOverrides: 2.81.2
2929 reactQueryHooks: 0.2.2
@@ -35,7 +35,6 @@ generatedFiles:
3535 - .devcontainer/README.md
3636 - .devcontainer/devcontainer.json
3737 - .devcontainer/setup.sh
38- - .eslintrc.cjs
3938 - .gitattributes
4039 - .npmignore
4140 - FUNCTIONS.md
@@ -53,6 +52,7 @@ generatedFiles:
5352 - docs/models/operations/methodpaths.md
5453 - docs/sdks/codesamples/README.md
5554 - docs/sdks/speakeasycodesamples/README.md
55+ - eslint.config.mjs
5656 - jsr.json
5757 - package.json
5858 - src/core.ts
@@ -106,15 +106,6 @@ generatedFiles:
106106 - tsconfig.json
107107examples:
108108 getCodeSamples:
109- speakeasy-default-get-code-samples:
110- parameters:
111- query:
112- registry_url: "https://spec.speakeasy.com/org/ws/my-source"
113- responses:
114- 2XX:
115- application/json: {"snippets": [{"operationId": "<id>", "language": "<value>", "code": "<value>"}, {"operationId": "<id>", "language": "<value>", "code": "<value>"}]}
116- 4XX:
117- application/json: {"message": "<value>", "status_code": 558834}
118109 "":
119110 parameters:
120111 query:
@@ -124,42 +115,9 @@ examples:
124115 languages: ["python", "javascript"]
125116 responses:
126117 2XX:
127- application/json: {"snippets": [{"path": "/usr/bin", "method": "<value>", "operationId": "<id>", "language": "<value>", "code": "<value>"}, {"path": "/sbin", "method": "<value>", "operationId": "<id>", "language": "<value>", "code": "<value>"}]}
128- 4XX:
129- application/json: {"message": "<value>", "status_code": 558834}
130- python:
131- parameters:
132- query:
133- registry_url: "https://spec.speakeasy.com/org/ws/my-source"
134- operation_ids: ["getPetById"]
135- languages: ["python"]
136- responses:
137- 2XX:
138- application/json: {"snippets": [{"operationId": "<id>", "language": "<value>", "code": "<value>"}, {"operationId": "<id>", "language": "<value>", "code": "<value>"}]}
118+ application/json: {"snippets": [{"path": "/sbin", "method": "<value>", "operationId": "<id>", "language": "<value>", "code": "<value>"}, {"path": "/root", "method": "<value>", "operationId": "<id>", "language": "<value>", "code": "<value>"}]}
139119 4XX:
140120 application/json: {"message": "<value>", "status_code": 521235}
141- typescript:
142- parameters:
143- query:
144- registry_url: "https://spec.speakeasy.com/org/ws/my-source"
145- operation_ids: ["getPetById"]
146- languages: ["typescript"]
147- responses:
148- 2XX:
149- application/json: {"snippets": [{"operationId": "<id>", "language": "<value>", "code": "<value>"}, {"operationId": "<id>", "language": "<value>", "code": "<value>"}, {"operationId": "<id>", "language": "<value>", "code": "<value>"}]}
150- 4XX:
151- application/json: {"message": "<value>", "status_code": 458049}
152- java:
153- parameters:
154- query:
155- registry_url: "https://spec.speakeasy.com/org/ws/my-source"
156- operation_ids: ["getPetById"]
157- languages: ["java"]
158- responses:
159- 2XX:
160- application/json: {"snippets": [{"operationId": "<id>", "language": "<value>", "code": "<value>"}]}
161- 4XX:
162- application/json: {"message": "<value>", "status_code": 262795}
163121 default:
164122 parameters:
165123 query:
@@ -170,4 +128,5 @@ examples:
170128 responses:
171129 2XX:
172130 application/json: {"snippets": [{"path": "/pet/{id}", "method": "get", "operationId": "getPetById", "language": "typescript", "code": "import { Petstore } from \"petstore-sdk\";\n\nconst petstore = new Petstore({\n apiKey: \"<YOUR_API_KEY_HERE>\",\n});\n\nasync function run() {\n const result = await petstore.pet.getById({\n id: 137396,\n });\n\n // Handle the result\n console.log(result);\n}\n\nrun();"}]}
131+ examplesVersion: 1.0.0
173132generatedTests: {}
0 commit comments