Smile CDR v2024.05.PRE
On this page:
   45.8    Auth: OpenID Connect 45.10    Camel   

45.9.1Browser Syntax Highlighting

 

The Browser Syntax Highlighting configuration category includes the following configurable options:

  • Browser Syntax Highlighting Enabled

  • Show Request Headers

  • Show Response Headers

45.9.2Property: Browser Syntax Highlighting Enabled

 
Property Name Browser Syntax Highlighting Enabled
Property Key
Property Type BOOLEAN
Description If a FHIR request is determined to be coming from a browser, should the server use syntax highlighting to format the response? This option is useful for beginners who want to play with the FHIR API but can cause problems for some AJAX applications since FHIR content might be returned using formatted HTML instead of raw JSON/XML.
Applies to Modules
  • FHIR Gateway REST Endpoint
  • FHIR REST Endpoint (All FHIR Versions)
  • FHIR REST Endpoint (DSTU2 - Deprecated)
  • FHIR REST Endpoint (R3 - Deprecated)
  • FHIR REST Endpoint (R4 - Deprecated)
  • Hybrid Providers REST Endpoint
Default Value true
Example Property
module.[MODULE_ID].config.browser_syntax_highlighting.enabled = true

45.9.3Property: Show Request Headers

 
Property Name Show Request Headers
Property Key
Property Type BOOLEAN
Description If enabled, the request headers will be shown in the syntax highlighted response page (when used).
Applies to Modules
  • FHIR Gateway REST Endpoint
  • FHIR REST Endpoint (All FHIR Versions)
  • FHIR REST Endpoint (DSTU2 - Deprecated)
  • FHIR REST Endpoint (R3 - Deprecated)
  • FHIR REST Endpoint (R4 - Deprecated)
  • Hybrid Providers REST Endpoint
Default Value false
Example Property
module.[MODULE_ID].config.browser_syntax_highlighting.show_request_headers = false

45.9.4Property: Show Response Headers

 
Property Name Show Response Headers
Property Key
Property Type BOOLEAN
Description If enabled, the response headers will be shown in the syntax highlighted response page (when used).
Applies to Modules
  • FHIR Gateway REST Endpoint
  • FHIR REST Endpoint (All FHIR Versions)
  • FHIR REST Endpoint (DSTU2 - Deprecated)
  • FHIR REST Endpoint (R3 - Deprecated)
  • FHIR REST Endpoint (R4 - Deprecated)
  • Hybrid Providers REST Endpoint
Default Value true
Example Property
module.[MODULE_ID].config.browser_syntax_highlighting.show_response_headers = true
   45.8    Auth: OpenID Connect 45.10    Camel