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.

Merge pull request #1891 from hey-api/docs/custom-client

docs: add custom client page

authored by

Lubos and committed by
GitHub
474639e8 0669e899

+31 -3
+5 -1
docs/.vitepress/config/en.ts
··· 53 53 collapsed: true, 54 54 items: [ 55 55 { 56 - link: '/openapi-ts/custom-plugin', 56 + link: '/openapi-ts/plugins/custom', 57 57 text: 'Custom Plugin', 58 58 }, 59 59 ], ··· 78 78 { 79 79 link: '/openapi-ts/clients/nuxt', 80 80 text: 'Nuxt', 81 + }, 82 + { 83 + link: '/openapi-ts/clients/custom', 84 + text: 'Custom Client', 81 85 }, 82 86 { 83 87 link: '/openapi-ts/clients/legacy',
+19
docs/openapi-ts/clients/custom.md
··· 1 + --- 2 + title: Custom Client 3 + description: Learn how to create your own Hey API client. 4 + --- 5 + 6 + # Custom Client 7 + 8 + ::: warning 9 + Client API is in development. The interface might change before it becomes stable. We encourage you to leave feedback on [GitHub](https://github.com/hey-api/openapi-ts/issues/1213). 10 + ::: 11 + 12 + You may need to write your own client if the available clients do not suit your needs or you're working on a proprietary use case. This can be easily achieved using the Client API. But don't take our word for it – all Hey API clients are written this way! 13 + 14 + ::: warning 15 + Custom clients documentation will be finalized after further testing. Simplified [instructions](https://github.com/hey-api/openapi-ts/issues/1213#issuecomment-2765206344) can be found in the GitHub thread. 16 + ::: 17 + 18 + <!--@include: ../../examples.md--> 19 + <!--@include: ../../sponsors.md-->
+2 -2
docs/openapi-ts/custom-plugin.md docs/openapi-ts/plugins/custom.md
··· 192 192 193 193 Congratulations! You've successfully created your own plugin! :tada: 194 194 195 - <!--@include: ../examples.md--> 196 - <!--@include: ../sponsors.md--> 195 + <!--@include: ../../examples.md--> 196 + <!--@include: ../../sponsors.md-->
+5
docs/vercel.json
··· 9 9 "source": "/openapi-ts", 10 10 "destination": "/openapi-ts/get-started", 11 11 "permanent": true 12 + }, 13 + { 14 + "source": "/openapi-ts/custom-plugin", 15 + "destination": "/openapi-ts/plugins/custom", 16 + "permanent": true 12 17 } 13 18 ], 14 19 "trailingSlash": false