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

Configure Feed

Select the types of activity you want to include in your feed.

chore: export enums in fetch example

Lubos 1a955f9e e45e97c1

+11
+3
examples/openapi-ts-fetch/openapi-ts.config.ts
··· 11 11 lint: 'eslint', 12 12 path: './src/client', 13 13 }, 14 + types: { 15 + enums: 'javascript', 16 + }, 14 17 });
+8
examples/openapi-ts-fetch/src/client/types.gen.ts
··· 5 5 */ 6 6 export type TicketType = 'event' | 'general'; 7 7 8 + /** 9 + * Type of ticket being purchased. Use `general` for regular museum entry and `event` for tickets to special events. 10 + */ 11 + export const TicketType = { 12 + EVENT: 'event', 13 + GENERAL: 'general', 14 + } as const; 15 + 8 16 export type Date = string; 9 17 10 18 /**