Texas Instruments · API Governance Rules
Texas Instruments API Rules
Spectral linting rules defining API design standards and conventions for Texas Instruments.
7 Rules
error 2
warn 3
info 2
Rule Categories
ti
Rules
warn
ti-path-version-prefix
TI API paths should include version prefix
$.paths[*]~
error
ti-oauth2-security
All TI API operations must use OAuth2 authentication
$.paths[*][get,post,put,delete]
info
ti-part-number-param-name
Part number path parameters should be named partNumber
$.paths[*][*].parameters[?(@.in == 'path')]
warn
ti-200-response-content
Successful responses must return content
$.paths[*][get,post].responses.200
error
ti-operation-summary
All operations must have a summary
$.paths[*][get,post,put,delete]
warn
ti-tags-title-case
Tags must use Title Case
$.paths[*][*].tags[*]
info
ti-create-returns-201
POST create operations should return HTTP 201
$.paths[*].post