14.1.1.4. relint¶
relint is a rest-schema linter.
14.1.1.4.1. Usage¶
$ relint -h
usage: relint [-h] [--verbose] [-r RELATED] filename
positional arguments:
filename RestSchema file to process
optional arguments:
-h, --help show this help message and exit
--verbose, -v print status messages, or debug with -vv
-r RELATED, --related RELATED
JSON doc source file
Note ‘-r RELATED’ may be specifed multiple times to load multiple dependencies
Example:
$ relint -r s1.yaml -r s2.yaml main.yaml
This will check ‘main.yaml’, which has references to ‘s1.yaml’ and ‘s2.yaml’