You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One more vote for this. For example, AWS API Gateway models are defined using the JSON schema draft 4 and it would be very useful to have enum instead of constant in the schema
Need a way to handle this problem in the generator: json-editor/json-editor#1446
The inspiration repo implements it with optional paramater
--constAsEnum Use enums with a single value when declaring constants.
:https://github.com/YousefED/typescript-json-schema
The text was updated successfully, but these errors were encountered: