From f4065538a54378273648e7651f49c52205f1b959 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Tue, 19 Dec 2023 00:51:09 +0000 Subject: [PATCH] ci: regenerated with OpenAPI Doc 1.0.0, Speakeasy CLI 1.127.0 --- README.md | 2 +- RELEASES.md | 10 +++++++++- docs/sdks/pets/README.md | 6 +++--- gen.yaml | 10 ++++++---- package-lock.json | 4 ++-- package.json | 2 +- src/sdk/sdk.ts | 6 +++--- 7 files changed, 25 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index 5bb8fb5..42071c6 100755 --- a/README.md +++ b/README.md @@ -64,7 +64,7 @@ Handling errors in this SDK should largely match your expectations. All operati | Error Object | Status Code | Content Type | | --------------- | --------------- | --------------- | -| errors.SDKError | 400-600 | */* | +| errors.SDKError | 4xx-5xx | */* | Example diff --git a/RELEASES.md b/RELEASES.md index 392d806..b5ab7b4 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -78,4 +78,12 @@ Based on: - OpenAPI Doc 1.0.0 - Speakeasy CLI 1.126.0 (2.213.3) https://github.com/speakeasy-api/speakeasy ### Generated -- [typescript v0.5.0] . \ No newline at end of file +- [typescript v0.5.0] . + +## 2023-12-19 00:50:57 +### Changes +Based on: +- OpenAPI Doc 1.0.0 +- Speakeasy CLI 1.127.0 (2.220.0) https://github.com/speakeasy-api/speakeasy +### Generated +- [typescript v0.5.1] . \ No newline at end of file diff --git a/docs/sdks/pets/README.md b/docs/sdks/pets/README.md index 9cbb4fd..8eda0b3 100644 --- a/docs/sdks/pets/README.md +++ b/docs/sdks/pets/README.md @@ -43,7 +43,7 @@ run(); | Error Object | Status Code | Content Type | | --------------- | --------------- | --------------- | -| errors.SDKError | 400-600 | */* | +| errors.SDKError | 4xx-5xx | */* | ## listPets @@ -82,7 +82,7 @@ run(); | Error Object | Status Code | Content Type | | --------------- | --------------- | --------------- | -| errors.SDKError | 400-600 | */* | +| errors.SDKError | 4xx-5xx | */* | ## showPetById @@ -123,4 +123,4 @@ run(); | Error Object | Status Code | Content Type | | --------------- | --------------- | --------------- | -| errors.SDKError | 400-600 | */* | +| errors.SDKError | 4xx-5xx | */* | diff --git a/gen.yaml b/gen.yaml index a28d037..bf3b9c5 100644 --- a/gen.yaml +++ b/gen.yaml @@ -2,20 +2,22 @@ configVersion: 1.0.0 management: docChecksum: 2516596125ef223fbbef6c434d22eaac docVersion: 1.0.0 - speakeasyVersion: 1.126.0 - generationVersion: 2.213.3 + speakeasyVersion: 1.127.0 + generationVersion: 2.220.0 generation: comments: {} sdkClassName: Swagger-Petstore repoURL: https://github.com/speakeasy-sdks/petstore-typescript-sdk.git usageSnippets: optionalPropertyRendering: withExample + fixes: + nameResolutionDec2023: false features: typescript: - core: 3.3.0 + core: 3.3.9 globalServerURLs: 2.82.1 typescript: - version: 0.5.0 + version: 0.5.1 author: demo clientServerStatusCodesAsErrors: true flattenGlobalSecurity: true diff --git a/package-lock.json b/package-lock.json index c8de647..5aeea9f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "Swagger-Petstore", - "version": "0.5.0", + "version": "0.5.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "Swagger-Petstore", - "version": "0.5.0", + "version": "0.5.1", "dependencies": { "axios": "^1.1.3", "class-transformer": "^0.5.1", diff --git a/package.json b/package.json index 97d3f19..6ec2d47 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "Swagger-Petstore", - "version": "0.5.0", + "version": "0.5.1", "author": "demo", "scripts": { "prepare": "tsc --build", diff --git a/src/sdk/sdk.ts b/src/sdk/sdk.ts index 5726769..0c9099a 100644 --- a/src/sdk/sdk.ts +++ b/src/sdk/sdk.ts @@ -42,9 +42,9 @@ export class SDKConfiguration { serverDefaults: any; language = "typescript"; openapiDocVersion = "1.0.0"; - sdkVersion = "0.5.0"; - genVersion = "2.213.3"; - userAgent = "speakeasy-sdk/typescript 0.5.0 2.213.3 1.0.0 Swagger-Petstore"; + sdkVersion = "0.5.1"; + genVersion = "2.220.0"; + userAgent = "speakeasy-sdk/typescript 0.5.1 2.220.0 1.0.0 Swagger-Petstore"; retryConfig?: utils.RetryConfig; public constructor(init?: Partial) { Object.assign(this, init);