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

Refactor transport params schemas in order to prevent invalid property values passing unintentionally #99

Merged

Conversation

garethsb
Copy link
Contributor

Resolves #98.

Due to combination of "anyOf" in {sender|receiver}_transport_params.json schemas, and lack of "additionalProperties": false and any "required" parameters in each {sender|receiver}_transport_params_{mqtt|rtp|websocket}.json schema, invalid property values were actually being accepted.

Could have renamed / combined the {sender|receiver}_transport_params_ext.json schemas, but this seems OK to me.

Looks a lot worse in GitHub web diff than it is!

…y values passing unintentionally due to combination of "anyOf" in *_transport_params.json schemas, and lack of "additionalProperties": false and any "required" parameters in each *_transport_params_*.json schema
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

IS-05 v1.1 transport_params schemas don't validate as intended
2 participants