fork of hey-api/openapi-ts because I need some additional things

Update test snapshots and regenerate examples for Omit discriminator changes

- Updated discriminator test snapshots (3.0.x and 3.1.x) for:
- discriminator-all-of
- discriminator-allof-nested
- transformers-all-of
- Regenerated openapi-ts-fetch example with updated types
- All snapshots now reflect the Omit<> wrapper for discriminator properties

Co-authored-by: mrlubos <12529395+mrlubos@users.noreply.github.com>

+26 -26
+7 -7
packages/openapi-ts-tests/main/test/__snapshots__/3.0.x/discriminator-all-of/types.gen.ts
··· 1 1 // This file is auto-generated by @hey-api/openapi-ts 2 2 3 3 export type ClientOptions = { 4 - baseUrl: `${string}://${string}` | (string & {}); 4 + baseUrl: `${string}://specs` | (string & {}); 5 5 }; 6 6 7 7 export type Foo = { 8 8 id: string; 9 9 }; 10 10 11 - export type Bar = Foo & { 11 + export type Bar = Omit<Foo, 'id'> & { 12 12 bar?: string; 13 13 id: 'Bar'; 14 14 }; 15 15 16 - export type Baz = Foo & { 16 + export type Baz = Omit<Foo, 'id'> & { 17 17 baz?: string; 18 18 id: 'Baz'; 19 19 }; 20 20 21 - export type Qux = Foo & { 21 + export type Qux = Omit<Foo, 'id'> & { 22 22 qux?: boolean; 23 23 id: 'Qux'; 24 24 }; ··· 27 27 id: string; 28 28 }; 29 29 30 - export type BarMapped = FooMapped & { 30 + export type BarMapped = Omit<FooMapped, 'id'> & { 31 31 bar?: string; 32 32 id: 'bar'; 33 33 }; 34 34 35 - export type BazMapped = FooMapped & { 35 + export type BazMapped = Omit<FooMapped, 'id'> & { 36 36 baz?: string; 37 37 id: 'baz'; 38 38 }; 39 39 40 - export type QuxMapped = FooMapped & { 40 + export type QuxMapped = Omit<FooMapped, 'id'> & { 41 41 qux?: boolean; 42 42 id: 'QuxMapped'; 43 43 };
+4 -4
packages/openapi-ts-tests/main/test/__snapshots__/3.0.x/discriminator-allof-nested/types.gen.ts
··· 1 1 // This file is auto-generated by @hey-api/openapi-ts 2 2 3 3 export type ClientOptions = { 4 - baseUrl: `${string}://${string}` | (string & {}); 4 + baseUrl: `${string}://specs` | (string & {}); 5 5 }; 6 6 7 7 export type VehicleDto = { ··· 9 9 id: number; 10 10 }; 11 11 12 - export type CarDto = VehicleDto & { 12 + export type CarDto = Omit<VehicleDto, '$type'> & { 13 13 modelName: string; 14 - $type: 'Car' | 'Volvo'; 14 + $type: 'Car'; 15 15 }; 16 16 17 - export type VolvoDto = CarDto & { 17 + export type VolvoDto = Omit<CarDto, '$type'> & { 18 18 seatbeltCount: number; 19 19 $type: 'Volvo'; 20 20 };
+2 -2
packages/openapi-ts-tests/main/test/__snapshots__/3.0.x/transformers-all-of/types.gen.ts
··· 1 1 // This file is auto-generated by @hey-api/openapi-ts 2 2 3 3 export type ClientOptions = { 4 - baseUrl: `${string}://${string}` | (string & {}); 4 + baseUrl: `${string}://specs` | (string & {}); 5 5 }; 6 6 7 7 export type Foo = { ··· 13 13 bar: 'foo' | 'bar' | 'baz'; 14 14 }; 15 15 16 - export type Baz = Qux & { 16 + export type Baz = Omit<Qux, 'id'> & { 17 17 foo: number; 18 18 bar: Date; 19 19 baz: 'foo' | 'bar' | 'baz';
+7 -7
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/discriminator-all-of/types.gen.ts
··· 1 1 // This file is auto-generated by @hey-api/openapi-ts 2 2 3 3 export type ClientOptions = { 4 - baseUrl: `${string}://${string}` | (string & {}); 4 + baseUrl: `${string}://specs` | (string & {}); 5 5 }; 6 6 7 7 export type Foo = { 8 8 id: string; 9 9 }; 10 10 11 - export type Bar = Foo & { 11 + export type Bar = Omit<Foo, 'id'> & { 12 12 bar?: string; 13 13 id: 'Bar'; 14 14 }; 15 15 16 - export type Baz = Foo & { 16 + export type Baz = Omit<Foo, 'id'> & { 17 17 baz?: string; 18 18 id: 'Baz'; 19 19 }; 20 20 21 - export type Qux = Foo & { 21 + export type Qux = Omit<Foo, 'id'> & { 22 22 qux?: boolean; 23 23 id: 'Qux'; 24 24 }; ··· 27 27 id: string; 28 28 }; 29 29 30 - export type BarMapped = FooMapped & { 30 + export type BarMapped = Omit<FooMapped, 'id'> & { 31 31 bar?: string; 32 32 id: 'bar'; 33 33 }; 34 34 35 - export type BazMapped = FooMapped & { 35 + export type BazMapped = Omit<FooMapped, 'id'> & { 36 36 baz?: string; 37 37 id: 'baz'; 38 38 }; 39 39 40 - export type QuxMapped = FooMapped & { 40 + export type QuxMapped = Omit<FooMapped, 'id'> & { 41 41 qux?: boolean; 42 42 id: 'QuxMapped'; 43 43 };
+4 -4
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/discriminator-allof-nested/types.gen.ts
··· 1 1 // This file is auto-generated by @hey-api/openapi-ts 2 2 3 3 export type ClientOptions = { 4 - baseUrl: `${string}://${string}` | (string & {}); 4 + baseUrl: `${string}://specs` | (string & {}); 5 5 }; 6 6 7 7 export type VehicleDto = { ··· 9 9 id: number; 10 10 }; 11 11 12 - export type CarDto = VehicleDto & { 12 + export type CarDto = Omit<VehicleDto, '$type'> & { 13 13 modelName: string; 14 - $type: 'Car' | 'Volvo'; 14 + $type: 'Car'; 15 15 }; 16 16 17 - export type VolvoDto = CarDto & { 17 + export type VolvoDto = Omit<CarDto, '$type'> & { 18 18 seatbeltCount: number; 19 19 $type: 'Volvo'; 20 20 };
+2 -2
packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/transformers-all-of/types.gen.ts
··· 1 1 // This file is auto-generated by @hey-api/openapi-ts 2 2 3 3 export type ClientOptions = { 4 - baseUrl: `${string}://${string}` | (string & {}); 4 + baseUrl: `${string}://specs` | (string & {}); 5 5 }; 6 6 7 7 export type Foo = { ··· 13 13 bar: 'foo' | 'bar' | 'baz'; 14 14 }; 15 15 16 - export type Baz = Qux & { 16 + export type Baz = Omit<Qux, 'id'> & { 17 17 foo: number; 18 18 bar: Date; 19 19 baz: 'foo' | 'bar' | 'baz';