openapi-typescript Agent Skills & AI Rules

GitHub

Generate TypeScript types from OpenAPI 3 specs

8,112 stars TypeScript TypeScript 1 file · ~2,066 tokens #openapi#openapi3#openapi3-1#swagger#typescript
RAW Rules
10 Discovered Rules • ~3,556 Estimated Tokens
Loading skill content...

nextjs Documentation

packages/openapi-fetch/examples/nextjs/README.md plugin-manifest ~99 tokens
Raw
# openapi-fetch + Next.js

Example of using openapi-fetch in [Next.js](https://nextjs.org) using server-rendered data.

For an example of fetching clientside, see the [React Query example](../react-query) which also works in Next.js (React Query is recommended over SWR because of type inference).

## Setup

```sh
pnpm i
pnpm run dev
```

You’ll see the server running at `localhost:3000`