Open danielpeintner opened 3 years ago
We have code applying defaults to TDs. see https://github.com/eclipse/thingweb.node-wot/blob/6854ab79022a7c71ee627a6f77a23e0eaaa9d702/packages/td-tools/src/td-parser.ts#L30-L85
Once AJV is in place we might consider replaying this manually written code with JSON schema default values.
https://github.com/thingweb/thingweb-playground/pull/156 this is about to be merged and will be available as an independent package on npm
We have code applying defaults to TDs. see https://github.com/eclipse/thingweb.node-wot/blob/6854ab79022a7c71ee627a6f77a23e0eaaa9d702/packages/td-tools/src/td-parser.ts#L30-L85
Once AJV is in place we might consider replaying this manually written code with JSON schema default values.