-
-
Notifications
You must be signed in to change notification settings - Fork 548
Support of const keyword #1329
Copy link
Copy link
Open
Description
I'm not a Json schema deep diver, but somehow I miss support for the const keyword (at least for C# code generation):
{
"title": "Person",
"type": "object",
"properties": {
"cmdType": {
"$comment": "This results in a string template literal when generating TS",
"const": "person"
},
...
}
Reactions are currently unavailable