Skip to content

Commit b5d1e9d

Browse files
author
Jorrin
committed
chore: update coverage snapshots
1 parent 0603f32 commit b5d1e9d

23 files changed

Lines changed: 208 additions & 0 deletions

File tree

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
@@ -230,6 +230,12 @@ export const createClient = (config: Config = {}): Client => {
230230
finalError = finalError || ({} as string);
231231

232232
if (opts.throwOnError) {
233+
if (opts.responseStyle === 'fields') {
234+
throw {
235+
error: finalError,
236+
...result,
237+
};
238+
}
233239
throw finalError;
234240
}
235241

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
@@ -230,6 +230,12 @@ export const createClient = (config: Config = {}): Client => {
230230
finalError = finalError || ({} as string);
231231

232232
if (opts.throwOnError) {
233+
if (opts.responseStyle === 'fields') {
234+
throw {
235+
error: finalError,
236+
...result,
237+
};
238+
}
233239
throw finalError;
234240
}
235241

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
@@ -230,6 +230,12 @@ export const createClient = (config: Config = {}): Client => {
230230
finalError = finalError || ({} as string);
231231

232232
if (opts.throwOnError) {
233+
if (opts.responseStyle === 'fields') {
234+
throw {
235+
error: finalError,
236+
...result,
237+
};
238+
}
233239
throw finalError;
234240
}
235241

0 commit comments

Comments
 (0)