Skip to content

Commit ad33873

Browse files
author
Jorrin
committed
chore: update coverage snapshots
1 parent 9ac306e commit ad33873

File tree

23 files changed

+208
-0
lines changed

23 files changed

+208
-0
lines changed

packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-angular/clean-false/core/response.gen.ts

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,22 @@
8080

8181
// This file is auto-generated by @hey-api/openapi-ts
8282

83+
// This file is auto-generated by @hey-api/openapi-ts
84+
85+
// This file is auto-generated by @hey-api/openapi-ts
86+
87+
// This file is auto-generated by @hey-api/openapi-ts
88+
89+
// This file is auto-generated by @hey-api/openapi-ts
90+
91+
// This file is auto-generated by @hey-api/openapi-ts
92+
93+
// This file is auto-generated by @hey-api/openapi-ts
94+
95+
// This file is auto-generated by @hey-api/openapi-ts
96+
97+
// This file is auto-generated by @hey-api/openapi-ts
98+
8399
export class ResponseError<T = unknown> extends Error {
84100
readonly body: T;
85101
readonly request: Request;

packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-axios/clean-false/core/response.gen.ts

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,22 @@
8080

8181
// This file is auto-generated by @hey-api/openapi-ts
8282

83+
// This file is auto-generated by @hey-api/openapi-ts
84+
85+
// This file is auto-generated by @hey-api/openapi-ts
86+
87+
// This file is auto-generated by @hey-api/openapi-ts
88+
89+
// This file is auto-generated by @hey-api/openapi-ts
90+
91+
// This file is auto-generated by @hey-api/openapi-ts
92+
93+
// This file is auto-generated by @hey-api/openapi-ts
94+
95+
// This file is auto-generated by @hey-api/openapi-ts
96+
97+
// This file is auto-generated by @hey-api/openapi-ts
98+
8399
export class ResponseError<T = unknown> extends Error {
84100
readonly body: T;
85101
readonly request: Request;

packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-fetch/clean-false/core/response.gen.ts

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,22 @@
8080

8181
// This file is auto-generated by @hey-api/openapi-ts
8282

83+
// This file is auto-generated by @hey-api/openapi-ts
84+
85+
// This file is auto-generated by @hey-api/openapi-ts
86+
87+
// This file is auto-generated by @hey-api/openapi-ts
88+
89+
// This file is auto-generated by @hey-api/openapi-ts
90+
91+
// This file is auto-generated by @hey-api/openapi-ts
92+
93+
// This file is auto-generated by @hey-api/openapi-ts
94+
95+
// This file is auto-generated by @hey-api/openapi-ts
96+
97+
// This file is auto-generated by @hey-api/openapi-ts
98+
8399
export class ResponseError<T = unknown> extends Error {
84100
readonly body: T;
85101
readonly request: Request;

packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-ky/clean-false/core/response.gen.ts

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,22 @@
8080

8181
// This file is auto-generated by @hey-api/openapi-ts
8282

83+
// This file is auto-generated by @hey-api/openapi-ts
84+
85+
// This file is auto-generated by @hey-api/openapi-ts
86+
87+
// This file is auto-generated by @hey-api/openapi-ts
88+
89+
// This file is auto-generated by @hey-api/openapi-ts
90+
91+
// This file is auto-generated by @hey-api/openapi-ts
92+
93+
// This file is auto-generated by @hey-api/openapi-ts
94+
95+
// This file is auto-generated by @hey-api/openapi-ts
96+
97+
// This file is auto-generated by @hey-api/openapi-ts
98+
8399
export class ResponseError<T = unknown> extends Error {
84100
readonly body: T;
85101
readonly request: Request;

packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-next/clean-false/core/response.gen.ts

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,22 @@
8080

8181
// This file is auto-generated by @hey-api/openapi-ts
8282

83+
// This file is auto-generated by @hey-api/openapi-ts
84+
85+
// This file is auto-generated by @hey-api/openapi-ts
86+
87+
// This file is auto-generated by @hey-api/openapi-ts
88+
89+
// This file is auto-generated by @hey-api/openapi-ts
90+
91+
// This file is auto-generated by @hey-api/openapi-ts
92+
93+
// This file is auto-generated by @hey-api/openapi-ts
94+
95+
// This file is auto-generated by @hey-api/openapi-ts
96+
97+
// This file is auto-generated by @hey-api/openapi-ts
98+
8399
export class ResponseError<T = unknown> extends Error {
84100
readonly body: T;
85101
readonly request: Request;

packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-nuxt/clean-false/core/response.gen.ts

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,22 @@
8080

8181
// This file is auto-generated by @hey-api/openapi-ts
8282

83+
// This file is auto-generated by @hey-api/openapi-ts
84+
85+
// This file is auto-generated by @hey-api/openapi-ts
86+
87+
// This file is auto-generated by @hey-api/openapi-ts
88+
89+
// This file is auto-generated by @hey-api/openapi-ts
90+
91+
// This file is auto-generated by @hey-api/openapi-ts
92+
93+
// This file is auto-generated by @hey-api/openapi-ts
94+
95+
// This file is auto-generated by @hey-api/openapi-ts
96+
97+
// This file is auto-generated by @hey-api/openapi-ts
98+
8399
export class ResponseError<T = unknown> extends Error {
84100
readonly body: T;
85101
readonly request: Request;

packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/clients/@hey-api/client-ofetch/clean-false/core/response.gen.ts

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,22 @@
8080

8181
// This file is auto-generated by @hey-api/openapi-ts
8282

83+
// This file is auto-generated by @hey-api/openapi-ts
84+
85+
// This file is auto-generated by @hey-api/openapi-ts
86+
87+
// This file is auto-generated by @hey-api/openapi-ts
88+
89+
// This file is auto-generated by @hey-api/openapi-ts
90+
91+
// This file is auto-generated by @hey-api/openapi-ts
92+
93+
// This file is auto-generated by @hey-api/openapi-ts
94+
95+
// This file is auto-generated by @hey-api/openapi-ts
96+
97+
// This file is auto-generated by @hey-api/openapi-ts
98+
8399
export class ResponseError<T = unknown> extends Error {
84100
readonly body: T;
85101
readonly request: Request;

packages/openapi-ts-tests/sdks/__snapshots__/method-class-conflict/class/client/client.gen.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,12 @@ export const createClient = (config: Config = {}): Client => {
222222
finalError = finalError || ({} as string);
223223

224224
if (opts.throwOnError) {
225+
if (opts.responseStyle === 'fields') {
226+
throw {
227+
error: finalError,
228+
...result,
229+
};
230+
}
225231
throw finalError;
226232
}
227233

packages/openapi-ts-tests/sdks/__snapshots__/method-class-conflict/flat/client/client.gen.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,12 @@ export const createClient = (config: Config = {}): Client => {
222222
finalError = finalError || ({} as string);
223223

224224
if (opts.throwOnError) {
225+
if (opts.responseStyle === 'fields') {
226+
throw {
227+
error: finalError,
228+
...result,
229+
};
230+
}
225231
throw finalError;
226232
}
227233

packages/openapi-ts-tests/sdks/__snapshots__/method-class-conflict/instance/client/client.gen.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,12 @@ export const createClient = (config: Config = {}): Client => {
222222
finalError = finalError || ({} as string);
223223

224224
if (opts.throwOnError) {
225+
if (opts.responseStyle === 'fields') {
226+
throw {
227+
error: finalError,
228+
...result,
229+
};
230+
}
225231
throw finalError;
226232
}
227233

0 commit comments

Comments
 (0)