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 · May be fixed by #2077
Open

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

jaller94 opened this issue Dec 27, 2024 · 0 comments · May be fixed by #2077
Assignees
Labels
Editorial Issues with no technical impact on implementations

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
@egekorkan egekorkan self-assigned this Feb 11, 2025
@egekorkan egekorkan added Editorial Issues with no technical impact on implementations and removed needs-triage Automatically added to new issues. TF should triage them with proper labels labels Feb 11, 2025
@egekorkan egekorkan linked a pull request Feb 11, 2025 that will close this issue
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Editorial Issues with no technical impact on implementations
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants