-
-
Notifications
You must be signed in to change notification settings - Fork 98
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
List down manual validations #10
Comments
Are we doing it in parser or that should go to linters? channel params is a similar use case that I had with server variables. Or maybe we should produce some doc that describes all possible validations 🤔 a kind of reference that would be very handy for those that create validators in different languages... |
it is related partially to #24 |
I think the case I describe above should be here in the parser but I understand it's a thin line. I think it's wrong to say that there's a parameter but it's not defined anywhere. However, the opposite might be fine for the linter: there's a defined parameter that's not used. What do you think?
You just described the TCK: Give it a try on this branch. |
If you mean
What do you mean by
I'll work on those 2 but first I need to have #91 merged as this is a first-time manual validation is introduced and I want to be sure this is the way to go |
👍
Sorry, my fault. However, we can still validate against the |
🎉 This issue has been resolved in version 0.25.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Reopen as we still need to fix above release just contains |
🎉 This issue has been resolved in version 0.26.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
The JSON Schema version of the spec is capable of validating many things, however, many others are impossible or very complicated to express. We should carefully read the spec and create a list of all the restrictions/validations that should be applied aside from the JSON Schema ones.
List
Message examples are valid messages. Not sure if ajv is performing this validation on the schemaexamples
Server variable examples are valid according to the schema.The text was updated successfully, but these errors were encountered: