Cstannahill/schemantic
A fully typed, extensible, modular TypeScript type generator for OpenAPI schemas (great with FastAPI). Generate TypeScript types, API clients, and optional hooks with sensible defaults.
This tool helps web developers using TypeScript automatically create the data structures and communication code needed to interact with a backend API. It takes an OpenAPI schema (a standard description of an API) and generates ready-to-use TypeScript types and an API client. Frontend developers building applications that consume data from FastAPI or similar backends will find this useful.
Available on npm.
Use this if you are a TypeScript developer building a frontend application and want to eliminate manual, error-prone coding when integrating with a backend API defined by an OpenAPI schema.
Not ideal if you are not working with TypeScript or if your backend API does not provide an OpenAPI specification.
Stars
7
Forks
—
Language
TypeScript
License
MIT
Category
Last pushed
Oct 18, 2025
Commits (30d)
0
Dependencies
3
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/ai-coding/Cstannahill/schemantic"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
yhnavein/swaggie
Tool for generating TypeScript client code for given Swagger API endpoints
grafana/openapi-to-k6
A CLI tool to convert an OpenAPI schema to a TypeScript client to use with k6.
reagento/descanso
A modern and simple way to create clients for REST like APIs
mikestead/openapi-client
Generate ES6 or Typescript service integration code from an OpenAPI 2 spec
verizonconnect/ngx-form-generator
Generate Angular ReactiveForms from OpenAPI documents