-
Notifications
You must be signed in to change notification settings - Fork 28
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
Link the API specification to the Thing Description version #225
Comments
I think we discussed this issue during one of our calls. If I recall correctly the agreement was that linking to the TD document should sufficient to guide the reader to the right version TD version. However, since TD document and TD versions might differ (i.e., TD document is a URL, TD version is a semantic versioning number). I'd propose to state somewhere in the document (may next to the sentence quoted in the first comment) that we are following Thing Description version 1.1. Later we can update it so that in each published document we track the right TD version. @zolkis @danielpeintner opinions? |
On the last TPAC in a different group the argument was that people always check the latest. So we need to do our best to keep them in sync. I don't oppose a formal bound that compel us to follow up on TD versions and URL. In the same paragraph, we should outline what exactly the dependencies are, and we should agree/follow up on them with the TD task force. The generic concepts (interactions/prop/act/event, consumed, exposed, discovery) are not TD related. |
Yes, that would be ideal |
Do you think this issue could be resolved by stating that the Scripting API should be compatible with all TD versions? Or could it even be closed? |
No, the API won't be compatible with an evolving TD spec all the time. No one can guarantee (and test) that. It should be in a release note for every API version. |
In the versioning call we worked on w3c/wot-thing-description#1969. We, as the Scripting task force, should decide and work on the scheme for our specification. see the placeholder here FYI: the proposed versioning for JSON schema is as follows.
In a similar spirit we could do the following for our 3/4 items that need versioning: 1. wot-thing-model-types (TypeScript definition for the WoT Thing Model)Note: auto-generated based on JSON Schema. From a users point of view the TD dependency would be nice to see as well.
2. wot-thing-description-types (TypeScript definition for the WoT Thing Description)
3. wot-typescript-definitions (Scripting API)
Note: Personally I think the name "wot-typescript-definitions" is not clear/correct anymore. Do we want to change/adapt it?
4. Question: Do we want to have/need an own version for the spec itself.e.g., a spec text change only which does not affect the others parts above.
Many questions and thoughts we might want to discuss in next weeks call. |
The API document is closely related to the Thing Description document:
However, in the document, it is not clearly stated to which Thing Description version the API spec is referring to.
Other related issues:
#224
The text was updated successfully, but these errors were encountered: