UNPKG

@hey-api/client-next

Version:

🚀 Next.js client for `@hey-api/openapi-ts` codegen.

42 lines (29 loc) • 1.66 kB
<div align="center"> <img alt="Hey API logo" height="150" src="https://heyapi.dev/images/logo-300w.png" width="150"> <h1 align="center"><b>Next.js Client</b></h1> <p align="center">🚀 Next.js client for `@hey-api/openapi-ts` codegen.</p> </div> <!-- TODO: Add working Next.js example --> <!-- [Live demo](https://stackblitz.com/edit/hey-api-client-fetch-example?file=openapi-ts.config.ts,src%2Fclient%2Fschemas.gen.ts,src%2Fclient%2Fsdk.gen.ts,src%2Fclient%2Ftypes.gen.ts,src%2FApp.tsx) --> ## Features - seamless integration with `@hey-api/openapi-ts` ecosystem - type-safe response data and errors - response data validation and transformation - access to the original request and response - granular request and response customization options - minimal learning curve thanks to extending the underlying technology - support bundling inside the generated output - [platform](https://heyapi.dev/openapi-ts/integrations) for automating codegen builds ## Platform Our platform for OpenAPI specifications is now available. Automatically update your code when the APIs it depends on change. [Find out more](https://heyapi.dev/openapi-ts/integrations). ## Documentation Please visit our [website](https://heyapi.dev/) for documentation, guides, migrating, and more. ## Sponsors Love Hey API? Become our [sponsor](https://github.com/sponsors/hey-api). <p> <a href="https://kutt.it/pkEZyc" target="_blank"> <img alt="Stainless logo" height="50" src="https://heyapi.dev/images/stainless-logo-wordmark-480w.jpeg" /> </a> </p> ## Migration Guides [OpenAPI Typescript Codegen](https://heyapi.dev/openapi-ts/migrating#openapi-typescript-codegen)