Skip to content

Development articles

Web development around a headless CMS: Next.js, React, Node.js, TypeScript, APIs, caching, testing and CI/CD.

Development

Typed TypeScript Client for Strapi 5 OpenAPI in Next.js

Learn step‑by‑step how to export Strapi 5’s OpenAPI spec, generate a type‑safe TypeScript client with swagger‑typescript‑api, and hook it into a Next.js 13 (React 18, Node 20) project using Axios and SWR.

· 4 min read