Skip to content

openapi-typescript-infra/openapi-typescript-enum

Repository files navigation

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.

About

A version of openapi-typescript that also generates enumerations

Resources

License

Security policy

Stars

Watchers

Forks

Packages

No packages published