Skip to content

Commit

Permalink
Merge pull request #43 from ryan-timothy-albert/speakeasy-sdk-regen-1…
Browse files Browse the repository at this point in the history
…729701214

chore: 🐝 Update SDK - Generate THIRD-TARGET 0.4.0
  • Loading branch information
ryan-timothy-albert authored Oct 23, 2024
2 parents 5319611 + f11f8c7 commit 585d9dc
Show file tree
Hide file tree
Showing 44 changed files with 1,762 additions and 1,644 deletions.
9 changes: 3 additions & 6 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
speakeasyVersion: 1.389.1
speakeasyVersion: 1.421.0
sources:
petstore:
sourceNamespace: petstore
sourceRevisionDigest: sha256:145cb6c7453343c769be7b7c98ee52ce2263365b0f18d89584458e36079d9647
sourceRevisionDigest: sha256:5139f7eb35bd185e818a5cee58a68734ff027b5a2fa7c7e4bb5c1bff0ecaaf90
sourceBlobDigest: sha256:7c35756702030633a8d2ebb1d378d34f883126319b06edcd798ac7bb2fddb189
tags:
- latest
Expand All @@ -13,19 +13,16 @@ targets:
sourceNamespace: petstore
sourceRevisionDigest: sha256:6a996d4448a1cfaff5b5e81ec5b7599026c4eef7cd858867aad756131168440a
sourceBlobDigest: sha256:08ce70c4bc584c427d03c413e2fca26efe2f363bf8b80668cabf2915dc45af63
outLocation: go
second-target:
source: petstore
sourceNamespace: petstore
sourceRevisionDigest: sha256:22dea4fa269cfc90ef29c704b6a25e91601d47b45da74b25f6f8550d09740bf7
sourceBlobDigest: sha256:0988cc3ebcf0b14954c082c37c08f8a965b0ec72781ffd459a9d4e105519f1da
outLocation: py
third-target:
source: petstore
sourceNamespace: petstore
sourceRevisionDigest: sha256:145cb6c7453343c769be7b7c98ee52ce2263365b0f18d89584458e36079d9647
sourceRevisionDigest: sha256:5139f7eb35bd185e818a5cee58a68734ff027b5a2fa7c7e4bb5c1bff0ecaaf90
sourceBlobDigest: sha256:7c35756702030633a8d2ebb1d378d34f883126319b06edcd798ac7bb2fddb189
outLocation: ts
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
1 change: 1 addition & 0 deletions ts/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/__tests__
/funcs
/core.*
/esm
Expand Down
1 change: 1 addition & 0 deletions ts/.npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@
/cjs
/.tshy
/.tshy-*
/__tests__
101 changes: 63 additions & 38 deletions ts/.speakeasy/gen.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3,39 +3,54 @@ id: f4be10ce-8651-4157-98c6-d75e2342372f
management:
docChecksum: 1bdb7a6f8bf3995d4b40475228403253
docVersion: 1.0.0
speakeasyVersion: 1.389.1
generationVersion: 2.409.0
releaseVersion: 0.3.0
configChecksum: faaa20b2350ac2b25e59b50425d3b460
speakeasyVersion: 1.421.0
generationVersion: 2.438.15
releaseVersion: 0.4.0
configChecksum: 0e4d4f7770c9dbcb2f8a13cfc85df0f5
repoURL: https://github.com/ryan-timothy-albert/multi-sdk-sample.git
repoSubDirectory: ts
installationURL: https://gitpkg.now.sh/ryan-timothy-albert/multi-sdk-sample/ts
published: true
features:
typescript:
additionalDependencies: 0.1.0
core: 3.16.0
core: 3.18.2
defaultEnabledRetries: 0.1.0
envVarSecurityUsage: 0.1.1
flattening: 2.81.1
flattening: 2.82.0
globalSecurityCallbacks: 0.1.0
globalServerURLs: 2.82.4
responseFormat: 0.2.3
retries: 2.83.0
sdkHooks: 0.1.0
generatedFiles:
- src/funcs/petsListPets.ts
- src/funcs/petsCreatePets.ts
- src/funcs/petsShowPetById.ts
- src/sdk/pets.ts
- src/sdk/sdk.ts
- .eslintrc.cjs
- .gitattributes
- .npmignore
- CONTRIBUTING.md
- FUNCTIONS.md
- RUNTIMES.md
- USAGE.md
- docs/lib/utils/retryconfig.md
- docs/models/components/errort.md
- docs/models/components/httpmetadata.md
- docs/models/components/pet.md
- docs/models/operations/createpetsresponse.md
- docs/models/operations/listpetsrequest.md
- docs/models/operations/listpetsresponse.md
- docs/models/operations/showpetbyidrequest.md
- docs/models/operations/showpetbyidresponse.md
- docs/sdks/pets/README.md
- docs/sdks/ryts/README.md
- jsr.json
- package.json
- src/core.ts
- src/funcs/petsCreatePets.ts
- src/funcs/petsListPets.ts
- src/funcs/petsShowPetById.ts
- src/hooks/hooks.ts
- src/hooks/index.ts
- src/hooks/types.ts
- src/index.ts
- src/lib/base64.ts
- src/lib/config.ts
Expand All @@ -52,10 +67,21 @@ generatedFiles:
- src/lib/sdks.ts
- src/lib/security.ts
- src/lib/url.ts
- src/sdk/index.ts
- src/models/components/error.ts
- src/models/components/httpmetadata.ts
- src/models/components/index.ts
- src/models/components/pet.ts
- src/models/errors/httpclienterrors.ts
- src/models/errors/index.ts
- src/models/errors/sdkerror.ts
- src/models/errors/sdkvalidationerror.ts
- src/models/operations/createpets.ts
- src/models/operations/index.ts
- src/models/operations/listpets.ts
- src/models/operations/showpetbyid.ts
- src/sdk/index.ts
- src/sdk/pets.ts
- src/sdk/sdk.ts
- src/types/blobs.ts
- src/types/constdatetime.ts
- src/types/enums.ts
Expand All @@ -65,29 +91,28 @@ generatedFiles:
- src/types/rfcdate.ts
- src/types/streams.ts
- tsconfig.json
- src/models/operations/listpets.ts
- src/models/operations/createpets.ts
- src/models/operations/showpetbyid.ts
- src/models/components/error.ts
- src/models/components/pet.ts
- src/models/components/httpmetadata.ts
- src/models/errors/index.ts
- src/models/operations/index.ts
- src/models/components/index.ts
- docs/models/operations/listpetsrequest.md
- docs/models/operations/listpetsresponse.md
- docs/models/operations/createpetsresponse.md
- docs/models/operations/showpetbyidrequest.md
- docs/models/operations/showpetbyidresponse.md
- docs/models/components/errort.md
- docs/models/components/pet.md
- docs/models/components/httpmetadata.md
- docs/sdks/ryts/README.md
- docs/lib/utils/retryconfig.md
- docs/sdks/pets/README.md
- USAGE.md
- .gitattributes
- src/hooks/hooks.ts
- src/hooks/types.ts
- src/hooks/index.ts
- CONTRIBUTING.md
examples:
listPets:
speakeasy-default-list-pets:
responses:
"200":
application/json: []
default:
application/json: {"code": 767425, "message": "<value>"}
createPets:
speakeasy-default-create-pets:
requestBody:
application/json: {"id": 596804, "name": "<value>"}
responses:
default:
application/json: {"code": 589113, "message": "<value>"}
showPetById:
speakeasy-default-show-pet-by-id:
parameters:
path:
petId: "<id>"
responses:
"200":
application/json: {"id": 763078, "name": "<value>"}
default:
application/json: {"code": 743784, "message": "<value>"}
3 changes: 2 additions & 1 deletion ts/.speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ generation:
auth:
oAuth2ClientCredentialsEnabled: true
typescript:
version: 0.3.0
version: 0.4.0
additionalDependencies:
dependencies: {}
devDependencies: {}
Expand All @@ -22,6 +22,7 @@ typescript:
clientServerStatusCodesAsErrors: true
enumFormat: enum
flattenGlobalSecurity: true
flatteningOrder: body-first
imports:
option: openapi
paths:
Expand Down
2 changes: 1 addition & 1 deletion ts/FUNCTIONS.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ async function run() {
const { value: result } = res;

// Handle the result
console.log(result)
console.log(result);
}

run();
Expand Down
Loading

0 comments on commit 585d9dc

Please sign in to comment.