@ossts/codegen
TypeScript icon, indicating that this package has built-in type declarations

1.5.1 • Public • Published

@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

/@ossts/codegen/

    Package Sidebar

    Install

    npm i @ossts/codegen

    Weekly Downloads

    117

    Version

    1.5.1

    License

    MIT

    Unpacked Size

    1.84 MB

    Total Files

    19

    Last publish

    Collaborators

    • esjs