Skip to main content

Top Level Elements

ItemDescription
Full Fuzzer NameTopLevelElementsLinterFuzzer
Log KeyTLEL
DescriptionThis fuzzer will check that the OpenAPI spec contains the recommended top level elements: "info.title", "info.description", "info.version", "info.contact.name", "info.contact.email", "info.contact.url", "servers", "tags".
Enabled by default?No. You need to use the cats lint ... sub-command.
Target contract elementsOpenAPI contract metadata and structures relevant to this rule.
Expected resultsuccess when no violation is found; error when the rule is violated.
Fuzzing logicInspects the OpenAPI contract without sending HTTP requests and reports violations of this rule.
Conditions when this fuzzer will be skippedNone; the linter runs once for the supplied contract.
HTTP methods that will be skippedN/A — no HTTP requests are sent.
ReportingReports error if the OpenAPI spec does not contain at least one of the recommended top elements, or success otherwise.