@ossts/codegen
v1.5.1
Published
Library for code generation from OpenAPI Schema with support for 3rd party generators.
Downloads
2
Maintainers
Readme
@ossts/codegen
Library for code generation with support for 3rd party generators (coming later).
The development of this package was inspired by awesome job done by developers of this package OpenAPI Typescript Codegen, but it has limited capabilities on what can be generated. This package would allow writing custom generators based on parsed schema.
Installation
# npm
npm install --save-dev @ossts/codegen
# yarn
yarn add -D @ossts/codegen
# pnpm
pnpm add -D @ossts/codegen
Usage
yarn codegen -i path/to/openapi-spec.json