On this page:
   28.5    Auth: OpenID Connect 28.7    Capability Statement (metadata)   

28.6Browser Syntax Highlighting

 

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

  • Browser Syntax Highlighting Enabled

  • Show Request Headers

  • Show Response Headers

28.6.1Property: 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.
Default Value true
Example Property
module.[MODULE_ID].config.browser_syntax_highlighting.enabled = true

28.6.2Property: 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).
Default Value false
Example Property
module.[MODULE_ID].config.browser_syntax_highlighting.show_request_headers = false

28.6.3Property: 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).
Default Value true
Example Property
module.[MODULE_ID].config.browser_syntax_highlighting.show_response_headers = true
   28.5    Auth: OpenID Connect 28.7    Capability Statement (metadata)