Smartproxy · API Governance Rules
Smartproxy API Rules
Spectral linting rules defining API design standards and conventions for Smartproxy.
6 Rules
error 2
warn 4
Rule Categories
smartproxy
Rules
warn
smartproxy-operation-id-camel-case
Operation IDs must use camelCase
$.paths[*][*].operationId
warn
smartproxy-user-id-path-param
User-scoped endpoints must use {userId} path parameter
$.paths[*]~
warn
smartproxy-operation-summary-title-case
Operation summaries must use Title Case
$.paths[*][*].summary
error
smartproxy-response-200-get
All GET operations must define a 200 response
$.paths[*].get
error
smartproxy-tags-required
All operations must have at least one tag
$.paths[*][*]
warn
smartproxy-delete-returns-204
DELETE operations should return 204 No Content
$.paths[*].delete