Red Hat Enterprise Linux 8 · API Governance Rules
Red Hat Enterprise Linux 8 API Rules
Spectral linting rules defining API design standards and conventions for Red Hat Enterprise Linux 8.
11 Rules
error 3
warn 6
info 2
Rule Categories
rhel
Rules
error
rhel-operation-id-required
All RHEL API operations must have an operationId to support SDK generation, documentation generation, and tooling integration.
$.paths[*][get,post,put,delete,patch]
warn
rhel-summary-title-case
Operation summaries must use Title Case to match Red Hat documentation standards.
$.paths[*][get,post,put,delete,patch].summary
warn
rhel-operation-description
All operations must have a detailed description explaining the endpoint purpose, parameters, and expected behavior.
$.paths[*][get,post,put,delete,patch]
warn
rhel-parameter-description
All query and path parameters must have descriptions to help API consumers understand accepted values.
$.paths[*][get,post,put,delete,patch].parameters[*]
error
rhel-security-defined
All RHEL Console APIs require authentication. Security schemes must be defined in the components/securitySchemes section.
$.components.securitySchemes
error
rhel-success-response
All operations must define at least one 2xx response to document successful operation outcomes.
$.paths[*][get,post,put,delete,patch].responses
warn
rhel-json-response-type
RHEL API responses should use application/json content type for consistent integration.
$.paths[*][get,post,put,patch].responses[200,201,202].content
warn
rhel-cve-format
CVE identifier parameters must follow the standard CVE-YYYY-NNNNN format for compatibility with vulnerability databases.
$.paths[*][get].parameters[?(@.name === 'CVE')].schema
info
rhel-list-pagination
List endpoints returning collections should support pagination parameters (page, per_page) for handling large datasets.
$.paths[*][get]
warn
rhel-contact-info
API info must include contact information with a URL pointing to Red Hat support or documentation resources.
$.info
info
rhel-external-docs
APIs should include externalDocs pointing to the official Red Hat documentation for comprehensive integration guidance.
$