SingularityNET · API Governance Rules
SingularityNET API Rules
Spectral linting rules defining API design standards and conventions for SingularityNET.
7 Rules
error 1
warn 5
info 1
Rule Categories
singularitynet
Rules
warn
singularitynet-operation-summary-title-case
All operation summaries must use Title Case.
$.paths[*][*].summary
warn
singularitynet-operation-ids-camel-case
Operation IDs should use camelCase.
$.paths[*][*].operationId
warn
singularitynet-tags-required
All operations must include at least one tag.
$.paths[*][*]
warn
singularitynet-description-required
All operations must have a description.
$.paths[*][*]
error
singularitynet-response-200-required
Successful operations must define a 200 response.
$.paths[*][*].responses
info
singularitynet-data-envelope
Response bodies should use a data envelope wrapper.
$.paths[*][*].responses['200'].content['application/json'].schema.properties
warn
singularitynet-path-params-described
All path parameters must have descriptions.
$.paths[*][*].parameters[?(@.in == "path")]