-
-
Notifications
You must be signed in to change notification settings - Fork 42
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
lint --fail-severity parameters missing in documentation #377
Comments
After thinking "maybe I can resolve this and create a PR" I found, that the correct parameter is This is not clear from the documentation though. https://quobix.com/vacuum/commands/lint/ Could you include the three possibilities |
+1 :) this echoes #367 (comment) |
As I was cleaning up the docs, I noticed that a `version` command would go down well. Signed-off-by: quobix <dave@quobix.com>
As I was cleaning up the docs, I noticed that a `version` command would go down well. Signed-off-by: quobix <dave@quobix.com>
A new https://quobix.com/vacuum/commands/version/ Also the docs for the |
I am using the docker container
dshanley/vacuum:v0.5.1
in a github workflow to check for OpenAPI errors.The command is
vacuum lint apidoc.yaml --no-style --fail-severity warning
and should return Error 1 when warnings or errors are thrown.When using the lint command with a file having errors and warnings, the command only exits with Error 1 when either
--fail-severity error
(or using the default)--fail-severity info
When using
--fail-severity warning
, the command displays the errors and warnings but still returns successfully.Here is an example yaml with an error and a couple warnings.
I think there is a
warning
key missing somewhere in the code.Hope this helps! Thank you!
The text was updated successfully, but these errors were encountered: