eclipse-thingweb / eclipse-thingweb/node-wot
`ExposedThing` initialization process not compliant
Open
core
enhancement
- Dominant language
- TypeScript
- Stars
- 192
- Forks
- 100
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 6
Description
The Scripting API defines a [Expand Thing Init](https://w3c.github.io/wot-scripting-api/#expand-an-exposedthinginit), but currently, our `ExposedThing` stops at step 3. We should align it with the spec.
p.s. This causes https://github.com/eclipse/thingweb.node-wot/issues/873, because the HTTP server receives a Thing object without any scheme defined when the CLI module tries to create the Servient Thing using a very simple ExposeThingInit without a security scheme.
Contributor guide
Assessment
This issue has not been assessed yet.