Ruleset package for OpenAPI (v3.2-v2.0) documents.
Install the package and extend it directly:
npm install --save-dev @openlint/ruleset-openapiextends: "@openlint/ruleset-openapi"This ruleset is based on spectral:oas for compatibility, but removes the following rules that had more to do with vendor-specific requirements than OpenAPI compatibility:
contact-propertiesinfo-contactinfo-descriptioninfo-licenselicense-urlopenapi-tags-alphabeticaloperation-singular-tagoperation-tagstag-description
These can be found in @openlint/ruleset-documentation instead.