{"repo":"tazo90/next-openapi-gen","free":true,"listed":false,"github":"https://github.com/tazo90/next-openapi-gen","clone":"git clone https://github.com/tazo90/next-openapi-gen.git","description":"Automatically generate OpenAPI 3.0, 3.1, and 3.2 documentation from Next.js projects, with support for Zod schemas, TypeScript types, and reusable OpenAPI fragments.","language":"TypeScript","stars":188,"topics":["nextjs","openapi","swagger","typescript","zod","api-docs","reactjs","redoc","scalar","api"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"next-openapi-gen Generate OpenAPI 3.0 , 3.1 , and 3.2 from the routes and schemas you already have. next-openapi-gen scans Next.js, TanStack Router, and React Router route handlers, reads JSDoc metadata, and generates an OpenAPI spec plus an optional docs UI. It is built for real codebases that use Zod, TypeScript, drizzle-zod, or reusable OpenAPI fragments, including mixed-schema migrations. Quick start • Docs index • Example apps • Validation and coverage Why teams use it - Keep OpenAPI close to your handlers instead of maintaining a separate manual spec. - Reuse existing zod , typescript , drizzle-zod , and YAML/JSON OpenAPI fragments in one pipeline. - Target 3.0 , 3.1 , or 3.2 from the same route metadata with version-aware finalization. - Ship interactive docs quickly with built-in UI scaffolding for Scalar, Swagger, Redoc, Stoplight Elements, or RapiDoc. - Fall back on checker-assisted App Router response inference when explicit @response tags are missing. - Keep richer Zod 4 and TypeScript output in modern targets with selective runtime-assisted Zod export and checker fallback for advanced type constructs. Quick start Requirements - Node.js =24 - TypeScript =5.9 [!TIP] Use --ui none during init if you only want the generated OpenAPI file. The package name is still next-openapi-gen during the transition. Config discovery also accepts the new openapi-gen.config.ts and openapi-gen.config.json aliases, while next-openapi.config. and next.openapi.json continue to work with","default_branch":null,"files":null,"tree":[],"storefront":"/r/tazo90","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/tazo90/next-openapi-gen/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}