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

2.1.4 • Public • Published

openapi-typescript-enum

This module adds a transformer to openapi-typescript that generates real enums in addition to the typed unions. You can use it as a straight replacement for npx openapi-typescript or yarn openapi-typescript as we essentially copied the CLI code. In the future we'd prefer this was just a transform that was invoked from the openapi-typescript CLI.

Dependents (0)

Package Sidebar

Install

npm i @openapi-typescript-infra/openapi-typescript-enum

Weekly Downloads

33

Version

2.1.4

License

MIT

Unpacked Size

86.4 kB

Total Files

27

Last publish

Collaborators

  • djmax