Tenet Healthcare · API Governance Rules
Tenet Healthcare API Rules
Spectral linting rules defining API design standards and conventions for Tenet Healthcare.
10 Rules
error 2
warn 5
info 3
Rule Categories
tenet
Rules
warn
tenet-smart-on-fhir-required
All Tenet FHIR API operations must use SMART on FHIR OAuth 2.0
$.paths[*][get,post,put,patch,delete]
error
tenet-operation-id-required
All operations must have an operationId
$.paths[*][get,post,put,patch,delete]
warn
tenet-operation-id-camel-case
OperationIds must use camelCase
$.paths[*][get,post,put,patch,delete].operationId
warn
tenet-summary-title-case
Operation summaries must use Title Case
$.paths[*][get,post,put,patch,delete].summary
info
tenet-fhir-content-type
FHIR API responses should use application/fhir+json content type
$.paths[*][get].responses[200].content
warn
tenet-patient-id-param
Patient resource paths should define the id path parameter
$.paths[*~'/Patient/{id}'][get].parameters
info
tenet-fhir-bundle-response
Search operations should return FHIR Bundle resources
$.paths[*][get].responses[200].content.application/fhir+json.schema
error
tenet-server-urls-required
API spec must define server URLs
$
info
tenet-fhir-version-info
FHIR API specs should declare the FHIR version
$.info
warn
tenet-unauthorized-response
FHIR operations must define 401 Unauthorized response
$.paths[*][get,post,put,patch,delete].responses