Skip to content

Commit

Permalink
Merge pull request #1516 from hey-api/docs/clients-next-nuxt
Browse files Browse the repository at this point in the history
docs: add Next.js and Nuxt to clients
  • Loading branch information
mrlubos authored Dec 27, 2024
2 parents 78e68db + 84c5e36 commit a7aa2fe
Show file tree
Hide file tree
Showing 4 changed files with 56 additions and 19 deletions.
44 changes: 26 additions & 18 deletions docs/.vitepress/config/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,14 @@ export default defineConfig({
link: '/openapi-ts/clients/axios',
text: 'Axios',
},
{
link: '/openapi-ts/clients/next-js',
text: 'Next.js <span data-soon>soon</span>',
},
{
link: '/openapi-ts/clients/nuxt',
text: 'Nuxt <span data-soon>soon</span>',
},
{
link: '/openapi-ts/clients/legacy',
text: 'Legacy',
Expand All @@ -88,31 +96,31 @@ export default defineConfig({
},
{
link: '/openapi-ts/plugins/ajv',
text: 'Ajv <span data-soon>soon</soon>',
text: 'Ajv <span data-soon>soon</span>',
},
{
link: '/openapi-ts/plugins/arktype',
text: 'Arktype <span data-soon>soon</soon>',
text: 'Arktype <span data-soon>soon</span>',
},
{
link: '/openapi-ts/plugins/joi',
text: 'Joi <span data-soon>soon</soon>',
text: 'Joi <span data-soon>soon</span>',
},
{
link: '/openapi-ts/plugins/superstruct',
text: 'Superstruct <span data-soon>soon</soon>',
text: 'Superstruct <span data-soon>soon</span>',
},
{
link: '/openapi-ts/plugins/typebox',
text: 'TypeBox <span data-soon>soon</soon>',
text: 'TypeBox <span data-soon>soon</span>',
},
{
link: '/openapi-ts/plugins/valibot',
text: 'Valibot <span data-soon>soon</soon>',
text: 'Valibot <span data-soon>soon</span>',
},
{
link: '/openapi-ts/plugins/yup',
text: 'Yup <span data-soon>soon</soon>',
text: 'Yup <span data-soon>soon</span>',
},
],
link: '/openapi-ts/validators',
Expand All @@ -131,15 +139,15 @@ export default defineConfig({
},
{
link: '/openapi-ts/plugins/pinia-colada',
text: 'Pinia Colada <span data-soon>soon</soon>',
text: 'Pinia Colada <span data-soon>soon</span>',
},
{
link: '/openapi-ts/plugins/swr',
text: 'SWR <span data-soon>soon</soon>',
text: 'SWR <span data-soon>soon</span>',
},
{
link: '/openapi-ts/plugins/zustand',
text: 'Zustand <span data-soon>soon</soon>',
text: 'Zustand <span data-soon>soon</span>',
},
],
link: '/openapi-ts/state-management',
Expand All @@ -150,19 +158,19 @@ export default defineConfig({
items: [
{
link: '/openapi-ts/plugins/faker',
text: 'Faker <span data-soon>soon</soon>',
text: 'Faker <span data-soon>soon</span>',
},
{
link: '/openapi-ts/plugins/msw',
text: 'MSW <span data-soon>soon</soon>',
text: 'MSW <span data-soon>soon</span>',
},
{
link: '/openapi-ts/plugins/nock',
text: 'Nock <span data-soon>soon</soon>',
text: 'Nock <span data-soon>soon</span>',
},
{
link: '/openapi-ts/plugins/supertest',
text: 'Supertest <span data-soon>soon</soon>',
text: 'Supertest <span data-soon>soon</span>',
},
],
link: '/openapi-ts/mocks',
Expand All @@ -177,19 +185,19 @@ export default defineConfig({
},
{
link: '/openapi-ts/plugins/express',
text: 'Express <span data-soon>soon</soon>',
text: 'Express <span data-soon>soon</span>',
},
{
link: '/openapi-ts/plugins/hono',
text: 'Hono <span data-soon>soon</soon>',
text: 'Hono <span data-soon>soon</span>',
},
{
link: '/openapi-ts/plugins/koa',
text: 'Koa <span data-soon>soon</soon>',
text: 'Koa <span data-soon>soon</span>',
},
{
link: '/openapi-ts/plugins/nest',
text: 'Nest <span data-soon>soon</soon>',
text: 'Nest <span data-soon>soon</span>',
},
],
link: '/openapi-ts/web-frameworks',
Expand Down
3 changes: 2 additions & 1 deletion docs/openapi-ts/clients.md
Original file line number Diff line number Diff line change
Expand Up @@ -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) <span data-soon>Soon</span>
- [Nuxt](/openapi-ts/clients/nuxt) <span data-soon>Soon</span>
- [Legacy](/openapi-ts/clients/legacy)
- [Next.js](https://nextjs.org/) <span data-soon>Soon</span>

Don't see your client? Let us know your interest by [opening an issue](https://github.com/hey-api/openapi-ts/issues).

Expand Down
14 changes: 14 additions & 0 deletions docs/openapi-ts/clients/next-js.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
title: Next.js
description: Next.js client for Hey API. Compatible with all our features.
---

# Next.js <span data-soon>soon</span>

::: 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.

<!--@include: ../../sponsors.md-->
14 changes: 14 additions & 0 deletions docs/openapi-ts/clients/nuxt.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
title: Nuxt
description: Nuxt client for Hey API. Compatible with all our features.
---

# Nuxt <span data-soon>soon</span>

::: 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.

<!--@include: ../../sponsors.md-->

0 comments on commit a7aa2fe

Please sign in to comment.