Cradlepoint · API Governance Rules
Cradlepoint API Rules
Spectral linting rules defining API design standards and conventions for Cradlepoint.
8 Rules
error 2
warn 6
Rule Categories
cradlepoint
Rules
warn
cradlepoint-info-contact
NCM specs must surface a Cradlepoint / Ericsson support contact.
$.info
error
cradlepoint-server-must-be-ncm
NCM v2 specs must target the production base URL.
$.servers[*]
warn
cradlepoint-resource-paths-trailing-slash
NCM v2 collection paths use a trailing slash (e.g. /routers/).
$.paths.*~
warn
cradlepoint-resource-paths-snake-case
NCM v2 resource path segments are snake_case.
$.paths.*~
warn
cradlepoint-operation-tags-titlecase
Operation tags should use Title Case singular nouns.
$.paths.*.*.tags[*]
error
cradlepoint-paired-key-auth
NCM v2 requires paired Cradlepoint and NetCloud API-key headers.
$.components.securitySchemes
warn
cradlepoint-operation-summary-titlecase
Operation summaries use Title Case.
$.paths.*.*.summary
warn
cradlepoint-pagination-limit-offset
List endpoints expose `limit` and `offset` query parameters.
$.paths[*].get.parameters