-
-
Notifications
You must be signed in to change notification settings - Fork 96
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
Parser 2.0 does not validate channel name #740
Comments
Welcome to AsyncAPI. Thanks a lot for reporting your first issue. Please check out our contributors guide and the instructions about a basic recommended setup useful for opening a pull request. |
my guess is that https://github.com/asyncapi/parser-js/blob/master/lib/customValidators.js#L424 is not reflected in spectral rules for Parser 2 RC |
Yeah, but that is an error, spec says there |
So it's only a changing the severity kind of given rule, in this place - https://github.com/asyncapi/parser-js/blob/next-major/src/ruleset/v2/ruleset.ts#L290 |
@magicmatatjahu should it also be move under |
Can be moved. |
What needs to be done to solve: Add /gfi ts |
Hey @derberg, your message doesn't follow the requirements, you can try |
A PR with the fix has been created #747 |
Describe the bug
Parser 2.0 has a bug and do not validate channel name
How to Reproduce
This was reported here
asyncapi/vs-asyncapi-preview#166
Expected behavior
It return a validation error like version 1.x:
6.TestChannel?Content-Type=application/json;charset=utf-8 channel contains invalid name with url query parameters: ?Content-Type=application/json;charset=utf-8
The text was updated successfully, but these errors were encountered: