Skip to content

Commit ac638b7

Browse files
committed
chore: preserve types order
1 parent 7ea9c19 commit ac638b7

File tree

378 files changed

+1579
-1554
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

378 files changed

+1579
-1554
lines changed

dev/openapi-ts.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export default defineConfig(() => {
4646
// 'openai.yaml',
4747
'opencode.yaml',
4848
// 'pagination-ref.yaml',
49-
'sdk-instance.yaml',
49+
// 'sdk-instance.yaml',
5050
// 'string-with-format.yaml',
5151
// 'transformers.json',
5252
// 'transformers-recursive.json',

examples/openapi-ts-angular-common/src/client/types.gen.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
// This file is auto-generated by @hey-api/openapi-ts
22

3+
export type ClientOptions = {
4+
baseUrl: 'https://petstore3.swagger.io/api/v3' | (string & {});
5+
};
6+
37
export type Order = {
48
complete?: boolean;
59
id?: number;
@@ -693,7 +697,3 @@ export type UpdateUserResponses = {
693697
*/
694698
200: unknown;
695699
};
696-
697-
export type ClientOptions = {
698-
baseUrl: 'https://petstore3.swagger.io/api/v3' | (string & {});
699-
};

examples/openapi-ts-angular/src/client/types.gen.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
// This file is auto-generated by @hey-api/openapi-ts
22

3+
export type ClientOptions = {
4+
baseUrl: 'https://petstore3.swagger.io/api/v3' | (string & {});
5+
};
6+
37
export type Order = {
48
complete?: boolean;
59
id?: number;
@@ -693,7 +697,3 @@ export type UpdateUserResponses = {
693697
*/
694698
200: unknown;
695699
};
696-
697-
export type ClientOptions = {
698-
baseUrl: 'https://petstore3.swagger.io/api/v3' | (string & {});
699-
};

examples/openapi-ts-axios/src/client/types.gen.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
// This file is auto-generated by @hey-api/openapi-ts
22

3+
export type ClientOptions = {
4+
baseURL: 'https://petstore3.swagger.io/api/v3' | (string & {});
5+
};
6+
37
export type Order = {
48
complete?: boolean;
59
id?: number;
@@ -693,7 +697,3 @@ export type UpdateUserResponses = {
693697
*/
694698
200: unknown;
695699
};
696-
697-
export type ClientOptions = {
698-
baseURL: 'https://petstore3.swagger.io/api/v3' | (string & {});
699-
};

examples/openapi-ts-fastify/src/client/types.gen.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
// This file is auto-generated by @hey-api/openapi-ts
22

3+
export type ClientOptions = {
4+
baseUrl: 'http://petstore.swagger.io/v1' | (string & {});
5+
};
6+
37
export type Pet = {
48
id: number;
59
name: string;
@@ -96,7 +100,3 @@ export type ShowPetByIdResponses = {
96100

97101
export type ShowPetByIdResponse =
98102
ShowPetByIdResponses[keyof ShowPetByIdResponses];
99-
100-
export type ClientOptions = {
101-
baseUrl: 'http://petstore.swagger.io/v1' | (string & {});
102-
};

examples/openapi-ts-fetch/src/client/types.gen.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
// This file is auto-generated by @hey-api/openapi-ts
22

3+
export type ClientOptions = {
4+
baseUrl: 'https://petstore3.swagger.io/api/v3' | (string & {});
5+
};
6+
37
export type Order = {
48
complete?: boolean;
59
id?: number;
@@ -693,7 +697,3 @@ export type UpdateUserResponses = {
693697
*/
694698
200: unknown;
695699
};
696-
697-
export type ClientOptions = {
698-
baseUrl: 'https://petstore3.swagger.io/api/v3' | (string & {});
699-
};

examples/openapi-ts-ky/src/client/types.gen.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
// This file is auto-generated by @hey-api/openapi-ts
22

3+
export type ClientOptions = {
4+
baseUrl: 'https://petstore3.swagger.io/api/v3' | (string & {});
5+
};
6+
37
export type Order = {
48
complete?: boolean;
59
id?: number;
@@ -693,7 +697,3 @@ export type UpdateUserResponses = {
693697
*/
694698
200: unknown;
695699
};
696-
697-
export type ClientOptions = {
698-
baseUrl: 'https://petstore3.swagger.io/api/v3' | (string & {});
699-
};

examples/openapi-ts-next/src/client/types.gen.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
// This file is auto-generated by @hey-api/openapi-ts
22

3+
export type ClientOptions = {
4+
baseUrl: 'https://petstore3.swagger.io/api/v3' | (string & {});
5+
};
6+
37
export type Order = {
48
complete?: boolean;
59
id?: number;
@@ -693,7 +697,3 @@ export type UpdateUserResponses = {
693697
*/
694698
200: unknown;
695699
};
696-
697-
export type ClientOptions = {
698-
baseUrl: 'https://petstore3.swagger.io/api/v3' | (string & {});
699-
};

examples/openapi-ts-ofetch/src/client/types.gen.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
// This file is auto-generated by @hey-api/openapi-ts
22

3+
export type ClientOptions = {
4+
baseUrl: 'https://petstore3.swagger.io/api/v3' | (string & {});
5+
};
6+
37
export type Order = {
48
complete?: boolean;
59
id?: number;
@@ -693,7 +697,3 @@ export type UpdateUserResponses = {
693697
*/
694698
200: unknown;
695699
};
696-
697-
export type ClientOptions = {
698-
baseUrl: 'https://petstore3.swagger.io/api/v3' | (string & {});
699-
};

examples/openapi-ts-openai/src/client/types.gen.ts

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,25 @@
11
// This file is auto-generated by @hey-api/openapi-ts
22

3+
export type ClientOptions = {
4+
baseUrl: 'https://api.openai.com/v1' | (string & {});
5+
};
6+
7+
export type Webhooks =
8+
| PostBatchCancelledWebhookRequest
9+
| PostBatchCompletedWebhookRequest
10+
| PostBatchExpiredWebhookRequest
11+
| PostBatchFailedWebhookRequest
12+
| PostEvalRunCanceledWebhookRequest
13+
| PostEvalRunFailedWebhookRequest
14+
| PostEvalRunSucceededWebhookRequest
15+
| PostFineTuningJobCancelledWebhookRequest
16+
| PostFineTuningJobFailedWebhookRequest
17+
| PostFineTuningJobSucceededWebhookRequest
18+
| PostResponseCancelledWebhookRequest
19+
| PostResponseCompletedWebhookRequest
20+
| PostResponseFailedWebhookRequest
21+
| PostResponseIncompleteWebhookRequest;
22+
323
export type AddUploadPartRequest = {
424
/**
525
* The chunk of bytes for this Part.
@@ -23453,23 +23473,3 @@ export type PostResponseIncompleteWebhookRequest = {
2345323473
path?: never;
2345423474
query?: never;
2345523475
};
23456-
23457-
export type ClientOptions = {
23458-
baseUrl: 'https://api.openai.com/v1' | (string & {});
23459-
};
23460-
23461-
export type Webhooks =
23462-
| PostBatchCancelledWebhookRequest
23463-
| PostBatchCompletedWebhookRequest
23464-
| PostBatchExpiredWebhookRequest
23465-
| PostBatchFailedWebhookRequest
23466-
| PostEvalRunCanceledWebhookRequest
23467-
| PostEvalRunFailedWebhookRequest
23468-
| PostEvalRunSucceededWebhookRequest
23469-
| PostFineTuningJobCancelledWebhookRequest
23470-
| PostFineTuningJobFailedWebhookRequest
23471-
| PostFineTuningJobSucceededWebhookRequest
23472-
| PostResponseCancelledWebhookRequest
23473-
| PostResponseCompletedWebhookRequest
23474-
| PostResponseFailedWebhookRequest
23475-
| PostResponseIncompleteWebhookRequest;

0 commit comments

Comments
 (0)