Varian Medical Systems · API Governance Rules
Varian Medical Systems API Rules
Spectral linting rules defining API design standards and conventions for Varian Medical Systems.
8 Rules
error 2
warn 5
info 1
Rule Categories
varian
Rules
warn
varian-operation-summary-title-case
All operation summaries must use Title Case
$.paths[*][*].summary
error
varian-operation-ids-present
All operations must have an operationId
$.paths[*][*]
warn
varian-fhir-json-content-type
FHIR APIs should use application/fhir+json content type
$.paths[*][*].responses[*].content
warn
varian-patient-param-required
Patient-scoped resources should require patient parameter
$.paths[?(!@~property.match('/Patient'))][get].parameters[?(@.name=='patient')]
warn
varian-paths-have-tags
All operations should have tags for grouping
$.paths[*][*]
error
varian-id-path-param-required
Path ID parameters must be required
$.paths[*][*].parameters[?(@.name=='id' && @.in=='path')]
info
varian-fhir-bundle-response
Search operations should return FHIR Bundle
$.paths[?([email protected](/{id}$))][get].responses.200.content.application/fhir+json.schema
warn
varian-smart-on-fhir-security
ARIA FHIR API uses SMART on FHIR OAuth2
$.components.securitySchemes