100ms · API Governance Rules
100ms API Rules
Spectral linting rules defining API design standards and conventions for 100ms.
7 Rules
error 4
warn 3
Rule Categories
hms
Rules
error
hms-paths-must-be-lower-kebab
100ms paths must be lower-kebab-case (e.g. /live-streams, /room-codes).
$.paths[*]~
error
hms-operation-id-camel-case
100ms operationIds use camelCase (e.g. createRoom, startLiveStreamForRoom).
$.paths[*][get,post,put,patch,delete].operationId
warn
hms-summary-title-case
Operation summary must be Title Case.
$.paths[*][get,post,put,patch,delete].summary
error
hms-operation-tagged
All operations must be tagged for grouping in the docs.
$.paths[*][get,post,put,patch,delete]
warn
hms-bearer-security-everywhere
Every operation must inherit the ManagementToken bearer scheme.
$
error
hms-path-params-snake-case
Path parameters use snake_case (room_id, template_id, recording_id, peer_id).
$.paths[*]~
warn
hms-schemas-pascal-case
Schemas use PascalCase names.
$.components.schemas[*]~