Azure AI Speech · API Governance Rules
Azure AI Speech API Rules
Spectral linting rules defining API design standards and conventions for Azure AI Speech.
34 Rules
error 23
warn 7
info 4
Rules by declared severity: the level each rule assigns to a violation. These are not lint results.
Generated by API Evangelist
Written by API Evangelist tooling for Azure AI Speech's APIs. It is a starting point, not a ruleset Azure AI Speech publishes or enforces.
Rule Categories
contact
header
info
license
operation
parameter
path
response
root
tag
Rules
error
operation-has-operationid
Every operation declares an operationId (measured: 100% of this contract)
$.paths[*][get,post,put,patch,delete]
error
operation-has-success-response
Every operation declares a 2xx response (measured: 100% of this contract)
$.paths[*][get,post,put,patch,delete].responses
error
root-security-declared
The contract declares security at the root (measured: 100% of this contract)
$
warn
path-segment-casing-kebab
Path segments are kebab case (measured: 94% of this contract)
$.paths[*]~
error
path-no-trailing-slash
Paths carry no trailing slash (measured: 100% of this contract)
$.paths[*]~
info
path-params-in-braces
Path parameters use {braces}, not :colon (measured: 83% of this contract)
$.paths[*]~
info
info-has-description
The contract's info block carries a description (measured: 83% of this contract)
$.info
error
info-title-present
Info declares title (measured: 100% of this contract)
$.info
error
info-title-min-length
Info.title runs at least 16 characters (measured: 100% of this contract)
$.info.title
info
info-description-present
Info declares description (measured: 83% of this contract)
$.info
error
info-description-min-length
Info.description runs at least 39 characters (measured: 100% of this contract)
$.info.description
error
info-version-present
Info declares version (measured: 100% of this contract)
$.info
error
info-version-semver
info.version is numeric (measured: 100% of this contract)
$.info.version
error
contact-name-present
Contact declares name (measured: 100% of this contract)
$.info.contact
error
contact-url-present
Contact declares url (measured: 100% of this contract)
$.info.contact
error
contact-url-https
Contact.url is https (measured: 100% of this contract)
$.info.contact.url
error
license-name-present
License declares name (measured: 100% of this contract)
$.info.license
error
tag-name-present
Tag declares name (measured: 100% of this contract)
$.tags[*]
error
tag-name-casing-pascal
Tag.name is pascal case (measured: 100% of this contract)
$.tags[*].name
warn
operation-summary-min-length
Operation.summary runs at least 23 characters (measured: 97% of this contract)
$.paths[*][get,put,post,delete,patch,options,head,trace].summary
warn
operation-description-min-length
Operation.description runs at least 21 characters (measured: 95% of this contract)
$.paths[*][get,put,post,delete,patch,options,head,trace].description
error
operation-operationid-present
Operation declares operationId (measured: 100% of this contract)
$.paths[*][get,put,post,delete,patch,options,head,trace]
error
operation-parameters-present
Operation declares parameters (measured: 100% of this contract)
$.paths[*][get,put,post,delete,patch,options,head,trace]
error
operation-responses-present
Operation declares responses (measured: 100% of this contract)
$.paths[*][get,put,post,delete,patch,options,head,trace]
error
parameter-name-present
Parameter declares name (measured: 100% of this contract)
$.paths[*][get,put,post,delete,patch,options,head,trace].parameters[*]
warn
parameter-name-casing-camel
Parameter.name is camel case (measured: 98% of this contract)
$.paths[*][get,put,post,delete,patch,options,head,trace].parameters[*].name
error
parameter-in-present
Parameter declares in (measured: 100% of this contract)
$.paths[*][get,put,post,delete,patch,options,head,trace].parameters[*]
warn
parameter-in-values
Parameter.in is one of body, formData, path, query (measured: 98% of this contract)
$.paths[*][get,put,post,delete,patch,options,head,trace].parameters[*].in
warn
parameter-description-present
Parameter declares description (measured: 98% of this contract)
$.paths[*][get,put,post,delete,patch,options,head,trace].parameters[*]
error
parameter-description-min-length
Parameter.description runs at least 11 characters (measured: 100% of this contract)
$.paths[*][get,put,post,delete,patch,options,head,trace].parameters[*].description
info
parameter-required-present
Parameter declares required (measured: 86% of this contract)
$.paths[*][get,put,post,delete,patch,options,head,trace].parameters[*]
error
response-description-present
Response declares description (measured: 100% of this contract)
$.paths[*][get,put,post,delete,patch,options,head,trace].responses[*]
error
response-description-min-length
Response.description runs at least 2 characters (measured: 100% of this contract)
$.paths[*][get,put,post,delete,patch,options,head,trace].responses[*].description
warn
header-description-present
Header declares description (measured: 91% of this contract)
$.paths[*][get,put,post,delete,patch,options,head,trace].responses[*].headers[*]
Spectral Ruleset
Work with this as data
Every ruleset here is available over the APIs.io API and to AI agents over MCP.