Tyson Foods · API Governance Rules
Tyson Foods API Rules
Spectral linting rules defining API design standards and conventions for Tyson Foods.
8 Rules
error 2
warn 5
Rule Categories
tyson
Rules
warn
tyson-foods-summary-title-case
Operation summaries must use Title Case
$.paths[*][*].summary
warn
tyson-foods-operation-id-camel-case
Operation IDs must use camelCase
$.paths[*][*].operationId
warn
tyson-foods-auth-required
All Tyson Foods API operations should require authentication
$.paths[*][get,post,put,patch,delete]
warn
tyson-foods-operation-description
All operations should have a description
$.paths[*][get,post,put,patch,delete]
hint
tyson-foods-path-param-description
Path parameters should have descriptions
$.paths[*][*].parameters[?(@.in == 'path')]
error
tyson-foods-success-response
Operations must define a success response
$.paths[*][get,post,put,patch,delete].responses
warn
tyson-foods-tags-title-case
Tags must use Title Case
$.tags[*].name
error
tyson-foods-server-https
API servers should use HTTPS
$.servers[*].url