This example shows how to use the interpretSingleEnumAsConst
option on the JSON Schema input processor to instead of interpreting {enum: ['single value']}
as an enum, it will instead only be generated as a constant value.
This ONLY applies when it's a single value.
Run this example using:
npm i && npm run start
If you are on Windows, use the start:windows
script instead:
npm i && npm run start:windows