-
Notifications
You must be signed in to change notification settings - Fork 10
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
Does not support version 3.0.0 #61
Comments
@nanotower What version of the asyncapi-validator are you using? and can you share complete error log? |
Also, it looks like this error is coming from asyncapi/parser-js: https://github.com/asyncapi/parser-js/blob/2671f1aeb4dd492c07b1ecdcd67d49cb33110008/src/ruleset/functions/isAsyncAPIDocument.ts#L25 cc @smoya |
This repository uses an old version (1.15.0) of the Parser which doesn't support v3. Please update to latest. |
I'm using version
|
Thanks @smoya @nanotower v3.0.0 and above of AsyncAPI specs is not supported. The readme is bit misleading,
This meant asyncapi-validator@3.0.0 As this is a major change, it can take some time. I will try to look into this on coming weekend. |
As per the README, it's supported, but when passing a valid yaml through the
fromSource
method, you would get this error in return:Version 3.0.0 is not supported. Error Details: Please use latest version of the specification.
The text was updated successfully, but these errors were encountered: