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

json schemas should be validated at initialization and on assignment #299

Open
gregbanks opened this issue Dec 6, 2017 · 0 comments
Open
Assignees
Labels

Comments

@gregbanks
Copy link
Contributor

currently, if you have an invalid schema in an OperationParameter (guessing this is the same behavior for OperationResponse) it will result in a 500 being returned when making a request with that parameter against the offending endpoint. a validateSchema function should probably be added to @carbon-io/EJSON and called on initialization and assignment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant