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

Webhook Event Example code examples miss "required": […] #2067

Open
jaller94 opened this issue Dec 27, 2024 · 0 comments
Open

Webhook Event Example code examples miss "required": […] #2067

jaller94 opened this issue Dec 27, 2024 · 0 comments
Labels
needs-triage Automatically added to new issues. TF should triage them with proper labels

Comments

@jaller94
Copy link

The code example 70 describes several data schemas of "type": "object" with required properties. However, the data schemas don't have the "required": [] array with the names of the required properties.

https://www.w3.org/TR/wot-thing-description/#webhook-example-serialization

e.g.

"cancellation": {
  "type": "object",
  "properties": {
    "subscriptionID": {
      "type": "integer",
      "description": "Required subscription ID to cancel subscription.",
      "writeOnly": true
    }
  }
}
@github-actions github-actions bot added the needs-triage Automatically added to new issues. TF should triage them with proper labels label Dec 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-triage Automatically added to new issues. TF should triage them with proper labels
Projects
None yet
Development

No branches or pull requests

1 participant