Apache Hive · API Governance Rules
Apache Hive API Rules
Spectral linting rules defining API design standards and conventions for Apache Hive.
13 Rules
error 2
warn 9
info 2
Rule Categories
hive
no
operationid
path
schema
Rules
error
hive-operation-summary
All Hive WebHCat API operations must have a summary
$.paths[*][get,put,post,delete,patch]
error
hive-operation-id
All Hive WebHCat API operations must have an operationId
$.paths[*][get,put,post,delete,patch]
warn
hive-operation-tags
All Hive WebHCat API operations must have at least one tag
$.paths[*][get,put,post,delete,patch]
warn
hive-schema-description
All Hive schema components must have a description
$.components.schemas[*]
info
hive-property-description
All Hive schema properties should have descriptions
$.components.schemas[*].properties[*]
warn
hive-info-contact
API info must include contact information
$.info
warn
hive-info-license
API info must include license information
$.info
warn
hive-path-parameters-described
All Hive path parameters must have descriptions
$.paths[*][*].parameters[?(@.in=='path')]
warn
path-params-casing
Path parameters should be camelCase (the dominant convention in this API).
$.paths[*].parameters[?(@.in=='path')].name
warn
operationid-casing
Operation IDs should be camelCase (the dominant convention in this API).
$.paths[*][get,post,put,patch,delete].operationId
warn
schema-names-casing
Component schema names should be PascalCase (the dominant convention in this API).
$.components.schemas
info
schema-properties-casing
Schema properties should be snake_case (the dominant convention in this API).
$.components.schemas[*].properties
warn
no-empty-descriptions
Descriptions must not be empty strings.
$..description