Skip to content

Latest commit

 

History

History
13 lines (12 loc) · 808 Bytes

File metadata and controls

13 lines (12 loc) · 808 Bytes

Configuration Files

The oasdiff command can read its configuration from a file.
This is useful for complex configurations or repeated usage patterns.
The config file should be named oasdiff.{json,yaml,yml,toml,hcl} and placed in the directory where the command is run.
For example, see oasdiff.yaml.

The configuration file supports the exact same flags that are supported by the command-line.
Notes:

  1. Command-line flags take precedence over configuration file settings.
  2. Some of the flags define paths to additional configuration files:
    • err-ignore: configuration file for ignoring errors
    • severity-levels: configuration file for custom severity levels
    • warn-ignore: configuration file for ignoring warnings