openapi-types-generator is a TypeScript CLI library generating TypeScript interfaces in compliance with a given OpenAPI specification. For 3.1.x and 3.0.x OpenAPI versions.
npm install openapi-types-generator
or
yarn add openapi-types-generator
openapi-types-generator -i path-to-openapi-schema-file -o path-to-openapi-interfaces-file
or (without installing)
npx openapi-types-generator -i path-to-openapi-schema-file -o path-to-openapi-interfaces-file
This package is licensed under the MIT License.
If you have any questions or issues, please contact the package maintainer at ekoulemaneng@gmail.com.