Minor Changes
-
Added the
no-duplicated-enum-valuesrule that requires all values in anenumto be unique.
The rule is enabled at thewarnlevel in therecommendedruleset.Note: linting output may include new warnings for API descriptions that contain duplicated enum values.
-
Added the
no-unsafe-markdownrule that disallows potentially executable content indescriptionfields.
The rule is enabled at thewarnlevel in therecommendedruleset.Note: linting output may include new warnings for
descriptionfields that contain potentially executable content. -
Added
security-definedrule for AsyncAPI 2.x and 3.x.Warning: this rule is enabled at
errorseverity in therecommendedruleset, so AsyncAPI documents that previously linted clean may now fail. The rule flags security$refs that target an undefined scheme or a path outsidecomponents.securitySchemes, and operations that declare nosecurityof their own when the applicable servers don't supply one either.