SimScale · API Governance Rules
SimScale API Rules
Spectral linting rules defining API design standards and conventions for SimScale.
9 Rules
error 2
warn 6
info 1
Rule Categories
simscale
Rules
warn
simscale-operation-summary-title-case
All operation summaries must use Title Case.
$.paths[*][*].summary
warn
simscale-operation-ids-camel-case
Operation IDs should use camelCase.
$.paths[*][*].operationId
warn
simscale-api-key-required
All operations must use X-API-KEY authentication.
$.paths[*][*]
error
simscale-path-v0-prefix
All paths must be prefixed with /v0/.
$.paths[*]~
error
simscale-response-200-or-201
Successful operations must define 200 or 201 response.
$.paths[*][*].responses
warn
simscale-description-required
All operations must have a description.
$.paths[*][*]
warn
simscale-tags-required
All operations must include at least one tag.
$.paths[*][*]
warn
simscale-path-params-described
All path parameters must have descriptions.
$.paths[*][*].parameters[?(@.in == "path")]
info
simscale-schemas-use-camel-case
Schema property names should use camelCase (SimScale SDK convention).
$.components.schemas[*].properties[*]~