With Spectral, ONAP can provide our own ruleset file extending the rules used by Spectral.
This is a draft file containing ONAP Swagger Specific Style Rules for Spectral: .spectral.yml (Note: when saving this file make sure it keeps the filename ".spectral.yml"
The Spectral CLI will look for a ruleset file called.spectral.ymlor.spectral.jsonin the current working directory.
We could also use a different file by using the CLI option --ruleset