@benbria/openapi-typescript-generator
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

@benbria/openapi-typescript-generator

NPM version

This is a command line tool for generating typescript types from an OpenAPI document. Unlike Swagger Codegen or openapi-generator, this tries to be "smart" about readOnly and writeOnly properties; if a type has one of these properties, this will generate a type for reading, and a "Create" type for writing.

This would need quite a bit of work to generate the full client.

/@benbria/openapi-typescript-generator/

    Package Sidebar

    Install

    npm i @benbria/openapi-typescript-generator

    Weekly Downloads

    0

    Version

    1.0.2

    License

    MIT

    Unpacked Size

    22.5 kB

    Total Files

    12

    Last publish

    Collaborators

    • victor.valle
    • hanutb
    • tyler-benbria
    • jordan.parsons
    • jefftudor
    • arnoldelite
    • lucaspawley-benbria
    • vincent-benbria
    • orelbibenbria