Signal · API Governance Rules
Signal API Rules
Spectral linting rules defining API design standards and conventions for Signal.
8 Rules
error 2
warn 4
Rule Categories
signal
Rules
warn
signal-basic-auth-required
Signal Server API uses Basic authentication with phone number credentials
$.components.securitySchemes[*]
warn
signal-path-param-naming
Signal Server path parameters should follow consistent naming
$.paths[*][*].parameters[?(@.in == 'path')]
error
signal-operation-id-required
All operations must have an operationId
$.paths[*][get,post,put,delete,patch]
error
signal-operation-summary-required
All operations must have a summary
$.paths[*][*]
warn
signal-delete-returns-204
DELETE operations should return 204
$.paths[*].delete.responses
hint
signal-prekey-operations-use-put
Pre-key upload operations should use PUT method
$.paths[?(@property =~ /keys/)][put]
warn
signal-auth-error-response
Operations should define 401 unauthorized response
$.paths[*][get,post,put,delete,patch].responses
hint
signal-base64-key-format
Cryptographic key fields should document Base64 encoding
$.components.schemas[*].properties[?(@.description =~ /base64/i)]