From 84c5e364e50234816549ddfb9bb914a519eadab7 Mon Sep 17 00:00:00 2001 From: Lubos Date: Fri, 27 Dec 2024 22:47:50 +0100 Subject: [PATCH] docs: add Next.js and Nuxt to clients --- docs/.vitepress/config/en.ts | 44 ++++++++++++++++++------------ docs/openapi-ts/clients.md | 3 +- docs/openapi-ts/clients/next-js.md | 14 ++++++++++ docs/openapi-ts/clients/nuxt.md | 14 ++++++++++ 4 files changed, 56 insertions(+), 19 deletions(-) create mode 100644 docs/openapi-ts/clients/next-js.md create mode 100644 docs/openapi-ts/clients/nuxt.md diff --git a/docs/.vitepress/config/en.ts b/docs/.vitepress/config/en.ts index f95101e9d..a026918ad 100644 --- a/docs/.vitepress/config/en.ts +++ b/docs/.vitepress/config/en.ts @@ -71,6 +71,14 @@ export default defineConfig({ link: '/openapi-ts/clients/axios', text: 'Axios', }, + { + link: '/openapi-ts/clients/next-js', + text: 'Next.js soon', + }, + { + link: '/openapi-ts/clients/nuxt', + text: 'Nuxt soon', + }, { link: '/openapi-ts/clients/legacy', text: 'Legacy', @@ -88,31 +96,31 @@ export default defineConfig({ }, { link: '/openapi-ts/plugins/ajv', - text: 'Ajv soon', + text: 'Ajv soon', }, { link: '/openapi-ts/plugins/arktype', - text: 'Arktype soon', + text: 'Arktype soon', }, { link: '/openapi-ts/plugins/joi', - text: 'Joi soon', + text: 'Joi soon', }, { link: '/openapi-ts/plugins/superstruct', - text: 'Superstruct soon', + text: 'Superstruct soon', }, { link: '/openapi-ts/plugins/typebox', - text: 'TypeBox soon', + text: 'TypeBox soon', }, { link: '/openapi-ts/plugins/valibot', - text: 'Valibot soon', + text: 'Valibot soon', }, { link: '/openapi-ts/plugins/yup', - text: 'Yup soon', + text: 'Yup soon', }, ], link: '/openapi-ts/validators', @@ -131,15 +139,15 @@ export default defineConfig({ }, { link: '/openapi-ts/plugins/pinia-colada', - text: 'Pinia Colada soon', + text: 'Pinia Colada soon', }, { link: '/openapi-ts/plugins/swr', - text: 'SWR soon', + text: 'SWR soon', }, { link: '/openapi-ts/plugins/zustand', - text: 'Zustand soon', + text: 'Zustand soon', }, ], link: '/openapi-ts/state-management', @@ -150,19 +158,19 @@ export default defineConfig({ items: [ { link: '/openapi-ts/plugins/faker', - text: 'Faker soon', + text: 'Faker soon', }, { link: '/openapi-ts/plugins/msw', - text: 'MSW soon', + text: 'MSW soon', }, { link: '/openapi-ts/plugins/nock', - text: 'Nock soon', + text: 'Nock soon', }, { link: '/openapi-ts/plugins/supertest', - text: 'Supertest soon', + text: 'Supertest soon', }, ], link: '/openapi-ts/mocks', @@ -177,19 +185,19 @@ export default defineConfig({ }, { link: '/openapi-ts/plugins/express', - text: 'Express soon', + text: 'Express soon', }, { link: '/openapi-ts/plugins/hono', - text: 'Hono soon', + text: 'Hono soon', }, { link: '/openapi-ts/plugins/koa', - text: 'Koa soon', + text: 'Koa soon', }, { link: '/openapi-ts/plugins/nest', - text: 'Nest soon', + text: 'Nest soon', }, ], link: '/openapi-ts/web-frameworks', diff --git a/docs/openapi-ts/clients.md b/docs/openapi-ts/clients.md index 313a78ba9..d8196af6b 100644 --- a/docs/openapi-ts/clients.md +++ b/docs/openapi-ts/clients.md @@ -27,8 +27,9 @@ Hey API natively supports the following clients. - [Fetch API](/openapi-ts/clients/fetch) - [Axios](/openapi-ts/clients/axios) +- [Next.js](/openapi-ts/clients/next-js) Soon +- [Nuxt](/openapi-ts/clients/nuxt) Soon - [Legacy](/openapi-ts/clients/legacy) -- [Next.js](https://nextjs.org/) Soon Don't see your client? Let us know your interest by [opening an issue](https://github.com/hey-api/openapi-ts/issues). diff --git a/docs/openapi-ts/clients/next-js.md b/docs/openapi-ts/clients/next-js.md new file mode 100644 index 000000000..c93f453d7 --- /dev/null +++ b/docs/openapi-ts/clients/next-js.md @@ -0,0 +1,14 @@ +--- +title: Next.js +description: Next.js client for Hey API. Compatible with all our features. +--- + +# Next.js soon + +::: warning +This feature isn't in development yet. Help us prioritize it by voting on [GitHub](https://github.com/hey-api/openapi-ts/issues/1515). +::: + +[Next.js](https://nextjs.org/) is the React framework for the web. Used by some of the world's largest companies, Next.js enables you to create high-quality web applications with the power of React components. + + diff --git a/docs/openapi-ts/clients/nuxt.md b/docs/openapi-ts/clients/nuxt.md new file mode 100644 index 000000000..0249b67d7 --- /dev/null +++ b/docs/openapi-ts/clients/nuxt.md @@ -0,0 +1,14 @@ +--- +title: Nuxt +description: Nuxt client for Hey API. Compatible with all our features. +--- + +# Nuxt soon + +::: warning +This feature isn't in development yet. Help us prioritize it by voting on [GitHub](https://github.com/hey-api/openapi-ts/issues/998). +::: + +[Nuxt](https://nuxt.com/) is an open source framework that makes web development intuitive and powerful. + + -- 2.51.2