ValueRay · API Governance Rules
ValueRay API Rules
Spectral linting rules defining API design standards and conventions for ValueRay.
8 Rules
error 6
warn 2
Rule Categories
valueray
Rules
error
valueray-info-contact
Info object MUST include a contact pointing at ValueRay.
$.info
error
valueray-server-base-url
Servers MUST point at the canonical ValueRay API v1 base URL.
$.servers[*]
warn
valueray-operation-summary-title-case
Operation summaries MUST be Title Case.
$.paths.*.*.summary
error
valueray-operation-id-camelcase
Operation IDs MUST be camelCase.
$.paths.*.*.operationId
error
valueray-symbol-parameter-required
Symbol-scoped operations MUST require a symbol query parameter.
$.paths['/symbolData'].get.parameters[?(@.name=='symbol')]
warn
valueray-tag-allowlist
Operation tags MUST come from the published tag set.
$.paths.*.*.tags[*]
error
valueray-disclaimer-property
SymbolDataResponse MUST include a disclaimer field.
$.components.schemas.SymbolDataResponse
error
valueray-field-explanations-property
SymbolDataResponse MUST include a field_explanations URI.
$.components.schemas.SymbolDataResponse