metadata
: JSON object containing ruleset metadata (name, description, etc.)ruleset
: The ruleset definition file content (in YAML or JSON format)Severity Level | Remediation Priority | Visual Indicator |
---|---|---|
error | High | Red pill |
warn | Medium | Yellow/orange pill |
info | Low | Green pill |
What rule formats are supported?
Can I create custom functions for rules?
How many rules can I have in a ruleset?
Can I import existing Spectral rulesets?
How do I use these rulesets to validate APIs?
Error when creating or importing a ruleset
Rule not appearing in ruleset
JSONPath expression not working as expected
Changes to ruleset not saving