@stoplight/spectral
Advanced tools
Changelog
[5.1.0] - 2020-02-26
typed-enum
rule to detect enum value that do not respect specified type #913oas3-operation-security-defined
rule supports optional authentication #895example-value-or-externalValue
no longer reports false positives #899schema-path
accepts a JSON Path expression as a field selector #917schema-path
handles invalid values gracefully #917oas3-valid-(content-)schema-example
rules handle nullable correctly #914Changelog
[5.0.0] - 2019-12-24
operation-tag-defined
#704example-value-or-externalValue
and openapi-tags
, are now included in the recommended rulset #725 #706model-description
and operation-summary-formatted
rules have been removed #725when
rule property has been removed #585--fail-severity
is now error
, so getting a warn
, info
or a hint
will not return a exit status code #706rules
property #652Changelog
[4.2.0] - 2019-10-08
{{value}}
and {{path}}
can be used in messages #520 #572when
Rule property is deprecated #585alphabetical
function are more meaningful #613oasPathParam
function #537--verbose
flag #435schema
function can validate falsy values 10e5d1cschema
function can validate Draft 6 and Draft 7 JSON Schemas ea2ddffinfo
and hint
severity levels correctly #565