USPTO · API Governance Rules
USPTO API Rules
Spectral linting rules defining API design standards and conventions for USPTO.
20 Rules
error 8
warn 9
info 3
Rule Categories
uspto
Rules
error
uspto-path-versioned
$.paths[*]~
warn
uspto-path-kebab-case
$.paths[*]~
error
uspto-operation-id-required
$.paths[*][get,post,put,patch,delete]
warn
uspto-operation-id-camel-case
$.paths[*][get,post,put,patch,delete].operationId
error
uspto-summary-required
$.paths[*][get,post,put,patch,delete]
warn
uspto-summary-title-case
$.paths[*][get,post,put,patch,delete].summary
warn
uspto-description-required
$.paths[*][get,post,put,patch,delete]
warn
uspto-tags-required
$.paths[*][get,post,put,patch,delete]
error
uspto-response-200-required
$.paths[*].get
warn
uspto-response-401-recommended
$.paths[*][get,post,put,patch,delete]
info
uspto-response-404-recommended
$.paths[*][get,post,put,patch,delete].responses
warn
uspto-parameter-description
$.paths[*][get,post,put,patch,delete].parameters[*]
error
uspto-parameter-schema-required
$.paths[*][get,post,put,patch,delete].parameters[*]
info
uspto-schema-description
$.components.schemas[*]
info
uspto-enum-upper-case
$.components.schemas[*].properties.status
error
uspto-security-defined
$.components.securitySchemes
warn
uspto-global-security
$
warn
uspto-info-contact
$.info
error
uspto-info-license
$.info
error
uspto-server-defined
$