11lockVersion: 2.0.0
22id: 521af75f-d011-41f9-a5ff-9f8033773118
33management:
4- docChecksum: 9937567df112ab271aff66d72d0fa2fb
4+ docChecksum: a1a59c22189bc31196cf2fee084ce983
55 docVersion: 0.4.0
6- speakeasyVersion: 1.468.8
7- generationVersion: 2.493.19
8- releaseVersion: 2.0.15
9- configChecksum: a7febf2d7327405b6ee7a59c114089ef
6+ speakeasyVersion: 1.469.1
7+ generationVersion: 2.493.21
8+ releaseVersion: 2.1.0
9+ configChecksum: 6939a47fc02096e5c82ee23222b77765
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.15
16+ core: 3.18.16
17+ deepObjectParams: 0.1.0
1718 defaultEnabledRetries: 0.1.0
1819 devContainers: 2.90.0
20+ enumUnions: 0.1.0
1921 envVarSecurityUsage: 0.1.2
2022 globalSecurity: 2.82.12
2123 globalSecurityCallbacks: 0.1.0
@@ -41,12 +43,14 @@ generatedFiles:
4143 - RUNTIMES.md
4244 - USAGE.md
4345 - docs/lib/utils/retryconfig.md
46+ - docs/models/components/httpmethod.md
4447 - docs/models/components/security.md
4548 - docs/models/components/usagesnippet.md
4649 - docs/models/components/usagesnippets.md
4750 - docs/models/errors/errort.md
4851 - docs/models/operations/getcodesamplesglobals.md
4952 - docs/models/operations/getcodesamplesrequest.md
53+ - docs/models/operations/methodpaths.md
5054 - docs/sdks/codesamples/README.md
5155 - docs/sdks/speakeasycodesamples/README.md
5256 - jsr.json
@@ -72,6 +76,7 @@ generatedFiles:
7276 - src/lib/sdks.ts
7377 - src/lib/security.ts
7478 - src/lib/url.ts
79+ - src/models/components/httpmethod.ts
7580 - src/models/components/index.ts
7681 - src/models/components/security.ts
7782 - src/models/components/usagesnippet.ts
@@ -114,10 +119,12 @@ examples:
114119 parameters:
115120 query:
116121 registry_url: "https://spec.speakeasy.com/my-org/my-workspace/my-source"
117- operation_ids: ["getPetById"]
122+ operation_ids: ["getPets"]
123+ method_paths: [{"method": "get", "path": "/pets"}]
124+ languages: ["python", "javascript"]
118125 responses:
119126 2XX:
120- application/json: {"snippets": [{"operationId": "<id>", "language": "<value>", "code": "<value>"}, {"operationId": "<id>", "language": "<value>", "code": "<value>"}]}
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>"}]}
121128 4XX:
122129 application/json: {"message": "<value>", "status_code": 558834}
123130 python:
@@ -157,8 +164,10 @@ examples:
157164 parameters:
158165 query:
159166 registry_url: "https://spec.speakeasy.com/org/ws/my-source"
160- operation_ids: ["getPetById"]
167+ operation_ids: ["getPets"]
168+ method_paths: [{"method": "get", "path": "/pets"}]
169+ languages: ["python", "javascript"]
161170 responses:
162171 2XX:
163- application/json: {"snippets": [{"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();"}]}
172+ 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();"}]}
164173generatedTests: {}
0 commit comments