From f56b51c5ff4cd1b99ae05f5b991f77eb02989281 Mon Sep 17 00:00:00 2001 From: Lubos Date: Thu, 5 Dec 2024 16:34:04 +0800 Subject: [PATCH] docs: update examples --- examples/openapi-ts-axios/src/client/index.ts | 1 - examples/openapi-ts-fastify/src/client/types.gen.ts | 2 ++ examples/openapi-ts-fetch/src/client/index.ts | 1 - .../src/client/index.ts | 1 - examples/openapi-ts-tanstack-react-query/src/client/index.ts | 1 - examples/openapi-ts-tanstack-svelte-query/src/client/index.ts | 1 - examples/openapi-ts-tanstack-vue-query/src/client/index.ts | 1 - 7 files changed, 2 insertions(+), 6 deletions(-) diff --git a/examples/openapi-ts-axios/src/client/index.ts b/examples/openapi-ts-axios/src/client/index.ts index 745c8f67a..688e3c912 100644 --- a/examples/openapi-ts-axios/src/client/index.ts +++ b/examples/openapi-ts-axios/src/client/index.ts @@ -1,4 +1,3 @@ // This file is auto-generated by @hey-api/openapi-ts -export * from './schemas.gen'; export * from './sdk.gen'; export * from './types.gen'; diff --git a/examples/openapi-ts-fastify/src/client/types.gen.ts b/examples/openapi-ts-fastify/src/client/types.gen.ts index 18ad10e60..bf1ded02f 100644 --- a/examples/openapi-ts-fastify/src/client/types.gen.ts +++ b/examples/openapi-ts-fastify/src/client/types.gen.ts @@ -45,6 +45,8 @@ export type ListPetsResponse = ListPetsResponses[keyof ListPetsResponses]; export type CreatePetsData = { body?: never; + path?: never; + query?: never; url: '/pets'; }; diff --git a/examples/openapi-ts-fetch/src/client/index.ts b/examples/openapi-ts-fetch/src/client/index.ts index 745c8f67a..688e3c912 100644 --- a/examples/openapi-ts-fetch/src/client/index.ts +++ b/examples/openapi-ts-fetch/src/client/index.ts @@ -1,4 +1,3 @@ // This file is auto-generated by @hey-api/openapi-ts -export * from './schemas.gen'; export * from './sdk.gen'; export * from './types.gen'; diff --git a/examples/openapi-ts-tanstack-angular-query-experimental/src/client/index.ts b/examples/openapi-ts-tanstack-angular-query-experimental/src/client/index.ts index 745c8f67a..688e3c912 100644 --- a/examples/openapi-ts-tanstack-angular-query-experimental/src/client/index.ts +++ b/examples/openapi-ts-tanstack-angular-query-experimental/src/client/index.ts @@ -1,4 +1,3 @@ // This file is auto-generated by @hey-api/openapi-ts -export * from './schemas.gen'; export * from './sdk.gen'; export * from './types.gen'; diff --git a/examples/openapi-ts-tanstack-react-query/src/client/index.ts b/examples/openapi-ts-tanstack-react-query/src/client/index.ts index 745c8f67a..688e3c912 100644 --- a/examples/openapi-ts-tanstack-react-query/src/client/index.ts +++ b/examples/openapi-ts-tanstack-react-query/src/client/index.ts @@ -1,4 +1,3 @@ // This file is auto-generated by @hey-api/openapi-ts -export * from './schemas.gen'; export * from './sdk.gen'; export * from './types.gen'; diff --git a/examples/openapi-ts-tanstack-svelte-query/src/client/index.ts b/examples/openapi-ts-tanstack-svelte-query/src/client/index.ts index 745c8f67a..688e3c912 100644 --- a/examples/openapi-ts-tanstack-svelte-query/src/client/index.ts +++ b/examples/openapi-ts-tanstack-svelte-query/src/client/index.ts @@ -1,4 +1,3 @@ // This file is auto-generated by @hey-api/openapi-ts -export * from './schemas.gen'; export * from './sdk.gen'; export * from './types.gen'; diff --git a/examples/openapi-ts-tanstack-vue-query/src/client/index.ts b/examples/openapi-ts-tanstack-vue-query/src/client/index.ts index c7900424d..544a87d45 100644 --- a/examples/openapi-ts-tanstack-vue-query/src/client/index.ts +++ b/examples/openapi-ts-tanstack-vue-query/src/client/index.ts @@ -1,4 +1,3 @@ // This file is auto-generated by @hey-api/openapi-ts -export * from './schemas.gen' export * from './sdk.gen' export * from './types.gen'