TD Ameritrade Holding · API Governance Rules
TD Ameritrade Holding API Rules
Spectral linting rules defining API design standards and conventions for TD Ameritrade Holding.
10 Rules
error 2
warn 7
info 1
Rule Categories
tdameritrade
Rules
warn
tdameritrade-path-account-id
Account-level paths should use {accountId} path parameter
$.paths[/accounts/*]~
error
tdameritrade-operation-ids-required
All operations must have operationId defined
$.paths[*][get,post,put,delete,patch]
warn
tdameritrade-operation-ids-camelcase
operationId values should use camelCase
$.paths[*][get,post,put,delete,patch].operationId
warn
tdameritrade-tags-defined
All operations should be tagged for documentation grouping
$.paths[*][get,post,put,delete,patch]
warn
tdameritrade-security-defined
Operations should reference OAuth2 security scheme
$.paths[*][get,post,put,delete,patch]
error
tdameritrade-responses-success
All operations should define a success response
$.paths[*][get,put,patch].responses
warn
tdameritrade-error-401
All operations should define an unauthorized (401) response
$.paths[*][get,post,put,delete,patch].responses
warn
tdameritrade-summary-title-case
Operation summaries should use Title Case
$.paths[*][get,post,put,delete,patch].summary
info
tdameritrade-schemas-description
Schema properties should have descriptions
$.components.schemas[*].properties[*]
warn
tdameritrade-deprecated-notice
Deprecated APIs should have deprecation notice in description
$[?(@['x-status'] == 'deprecated')].info.description