typed-api-spec
TypeScript based declarative API specification and zero-runtime client
All you need is TypeScript
typed-api-spec's API definition schema is built on top of TypeScript, so you can use the full power of the type system
type-safe, zero-runtime client
typed-api-spec provides type-safe, 0kb bundle size API client. You can use it with zero-runtime, zero-overhead, zero-dependency and zero-learning-cost (because it is just fetch!).
Framework-agnostic
typed-api-spec does not require any other dependencies. It supports server frameworks(e.g. Express, Fastify) and validation libraries)(e.g. zod, valibot), but these are optional and you can use only those you need.