Unified.to · API Governance Rules
Unified.to API Rules
Spectral linting rules defining API design standards and conventions for Unified.to.
34 Rules
error 13
warn 14
info 7
Rule Categories
components
delete
get
info
no
openapi
operation
parameter
paths
request
response
schema
security
servers
Rules
error
info-title-required
$.info
warn
info-title-contains-unified
$.info.title
warn
info-description-required
$.info
error
info-version-required
$.info
error
openapi-version-3
$
error
servers-defined
$
error
servers-https-only
$.servers[*].url
info
servers-unified-to-domain
$.servers[*].url
warn
paths-connection-id-required
$.paths[*]~
warn
paths-kebab-case
$.paths[*]~
warn
paths-no-trailing-slash
$.paths[*]~
error
operation-id-required
$.paths[*][get,post,put,patch,delete,head,options]
error
operation-summary-required
$.paths[*][get,post,put,patch,delete,head,options]
warn
operation-summary-title-case
$.paths[*][get,post,put,patch,delete,head,options].summary
warn
operation-tags-required
$.paths[*][get,post,put,patch,delete,head,options]
info
operation-description-required
$.paths[*][get,post,put,patch,delete,head,options]
error
parameter-connection-id-path
$.paths[*][get,post,put,patch,delete].parameters[?(@.name=='connection_id')]
warn
parameter-description-required
$.paths[*][get,post,put,patch,delete].parameters[*]
info
parameter-pagination-limit
$.paths[*].get.parameters[?(@.name=='limit')]
warn
parameter-snake-case
$.paths[*][get,post,put,patch,delete].parameters[*].name
warn
request-body-json
$.paths[*][post,put,patch].requestBody.content
error
response-success-defined
$.paths[*][get,post,put,patch,delete]
error
response-description-required
$.paths[*][get,post,put,patch,delete].responses[*]
warn
response-401-unauthorized
$.paths[*][get,post,put,patch,delete]
info
response-422-validation
$.paths[*][post,put,patch]
warn
schema-property-snake-case
$.components.schemas[*].properties[*]~
info
schema-raw-property-present
$.components.schemas[?(@.type=='object')]
error
security-schemes-defined
$.components
warn
security-jwt-bearer
$.components.securitySchemes[*][?(@.type=='http')]
error
get-no-request-body
$.paths[*].get
info
delete-returns-200-or-204
$.paths[*].delete.responses
warn
no-empty-descriptions
$..description
error
components-schemas-defined
$.components
info
schema-raw-passthrough
$.components.schemas[?([email protected])]