原书出处
Automating API Delivery APIOps with OpenAPI
03 API Lint 与设计一致性 3.6 Creating a Spectral rule for info.description
Finally, the rule’s severity property specifies the severity level associated with the rule to enable you to group and filter rule violations by importance. When you run the Spectral CLI, you can also use the --fail-severity flag to specify that the failure of a rule with the given severity level (or higher) will trigger a failure exit code. In order of highest to lowest, Spectral has five severity levels for error results: error, warn, info, hint, and off.
原书定位详情
来源:a19c7933-4eda-4176-aebd-30fe7e1ad292
正文位置:extracted/Automating API Delivery APIOps with OpenAPI/_epub-src/OEBPS/Text/chapter-3.xhtml#p66
EPUB SHA-256:73b94e6cdce95a5b45154bc48c68151659ddf69ec246d4fad79dc89db000857e