Skip to content

openapi-typescript-infra/openapi-typescript-enum

Folders and files

NameName
Last commit message
Last commit date

Latest commit

28e021f · Sep 20, 2023

History

32 Commits
Jul 28, 2023
Sep 20, 2023
Jul 28, 2023
Sep 20, 2023
Sep 20, 2023
Sep 20, 2023
Jul 28, 2023
Sep 20, 2023
Jul 28, 2023
Aug 3, 2023
Jul 28, 2023
Sep 20, 2023
Jul 28, 2023
Sep 20, 2023

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.