Skip to content

Generates JSDoc/TypeScript type definitions from OpenAPI schemas.

Notifications You must be signed in to change notification settings

kshyr/openapi-typegen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Generates JSDoc @typedef or TypeScript type for every schema in OpenAPI spec.

Zig version: 0.13.0-dev.351+64ef45eb0


Usage

openapi-typegen -target=<jsdoc|ts> path/to/openapi.json path/to/output.<js|ts>