Super Micro Computer · API Governance Rules
Super Micro Computer API Rules
Spectral linting rules defining API design standards and conventions for Super Micro Computer.
10 Rules
error 4
warn 6
Rule Categories
supermicro
Rules
error
supermicro-odata-type-required
All Supermicro Redfish resources must include @odata.type
$.paths[*][get].responses[200].content.application/json.schema.properties
error
supermicro-operation-id-required
All operations must have an operationId
$.paths[*][*]
warn
supermicro-summary-title-case
Operation summaries must use Title Case
$.paths[*][*].summary
warn
supermicro-redfish-path-prefix
All Supermicro Redfish paths should be nested under /redfish/v1
$.servers[*].url
warn
supermicro-tags-required
All operations must have at least one tag
$.paths[*][*]
warn
supermicro-path-parameters-described
All path parameters must have a description
$.paths[*][*].parameters[?(@.in == 'path')]
error
supermicro-security-defined
Security schemes must include BasicAuth and SessionAuth
$.components.securitySchemes
warn
supermicro-reset-action-typed
Reset action paths should include ActionResponse in their response schema
$.paths[*Actions*][post].responses
warn
supermicro-status-schema-health
Status objects should use the defined Status schema
$.components.schemas.*.properties.Status
error
supermicro-collection-members-count
Collection responses must include [email protected]
$.components.schemas.Collection.properties