This repository has been archived by the owner on Jun 12, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generate const if enum has exactly one element (#41)
**What** - Generate a Go `const` if the enum values has exactly one element - See OAI/OpenAPI-Specification#1313 and OAI/OpenAPI-Specification#1620 as examples where the openapi team blessed the "singleton enum" example Signed-off-by: Lucas Roesler <[email protected]>
- Loading branch information