The fastest way to see something useful is to print something out to the console.
This will print a summary of your linting results. The
lint command will use the
Just want to try things out?
If you don’t have an OpenAPI spec and you want to see something, you can run it against one of the test specifications. A good one to try is the petstorev3.json specification.
lint supports the following flags
||Show full details of the linting report|
||Show no output, except for the linting result|
||Set the level at which an error return code is thrown (defaults to
||Show help screen and all flag details|
lint supports the following global flags
||Use an existing ruleset file for linting|
||Show how long it took to lint the spec in (ms)|
Full flags begin with a double hyphen.
Want something easy to copy and paste?