Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add configuration option whether Ditto should generate condition "property bag" notation for WoT TDs #2143

Open
thjaeckle opened this issue Mar 10, 2025 · 0 comments
Labels
WoT Web of Things related enhancements

Comments

@thjaeckle
Copy link
Member

Ditto currently generates TDs in a way to also generate (some) supported query params by Ditto.

Example:

...
"forms": [
        {
          "op": "readproperty",
          "href": "attributes/location{?channel,timeout}",
...

Where "channel" and "timeout" are defined as well as "uriVariables" in the TD.

While this is specified in the standard it often happens that tools cannot handle this "strange" syntax of URIs - so I would propose making it configurable to generate those - and maybe even deactivate it by default.

@thjaeckle thjaeckle added the WoT Web of Things related enhancements label Mar 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
WoT Web of Things related enhancements
Projects
None yet
Development

No branches or pull requests

1 participant