w3c / wot-scripting-api

Web of Things (WoT) Scripting API
http://w3c.github.io/wot-scripting-api/
Other
43 stars 28 forks source link

Cover AdditionalExpectedResponses as error responses #560

Open relu91 opened 3 months ago

relu91 commented 3 months ago

Current TD specification introduced the concept of additionalResponses to model APIs that might return different payloads from the same affordance. This issue focuses on AdditionalExpectedResponses marked with the field success: false (default). The goal is to understand how to treat these responses in our runtime. The discussion is strongly connected with #200.