JSON, Swagger, and REST parameters

Guidewire provides the following configuration parameters in file config.xml that relate to JSON, Swagger, and the REST API framework.

For information on editing config.xml and setting configuration parameters, see Working with configuration parameters.

OverrideJSONMappingWarnings

Determines how the REST framework handles JSON mapping warnings:
  • ON - Enable all warning categories for JSON mapping validations
  • OFF - Disable all warning categories for JSON mapping validations
  • DEFAULT - Defer to suppress-warnings properties of the individual JSON mappings

Default: DEFAULT

OverrideJSONSchemaWarnings

Determines how the REST framework handles JSON schema warnings:
  • ON - Enable all warning categories for JSON schema validations
  • OFF - Disable all warning categories for JSON schema validations
  • DEFAULT - Defer to x-gw-suppress-warnings properties of the individual JSON schemas

Default: DEFAULT

OverrideRESTSchemaWarnings

Determines how the REST API framework handles schema warnings:
  • ON - Enable all warning categories for REST Swagger schema validations
  • OFF - Disable all warning categories for REST Swagger schema validations
  • DEFAULT - Defer to x-gw-suppress-warnings properties of the individual REST Swagger schemas

Default: DEFAULT

PreloadRestServletConfig

Determines whether PolicyCenter preloads the REST servlet configuration:
  • true - PolicyCenter preloads the REST servlet configuration during servlet initialization.
  • false - PolicyCenter lazily loads the REST servlet configuration on the first request to the servlet.

Setting the value of this configuration parameter to true ensures that PolicyCenter loads all the configuration needed for the REST servlet to process requests during initial servlet initialization.

Default: false

Set for server: Yes