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 validationsOFF- Disable all warning categories for JSON mapping validationsDEFAULT- Defer tosuppress-warningsproperties 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 validationsOFF- Disable all warning categories for JSON schema validationsDEFAULT- Defer tox-gw-suppress-warningsproperties 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 validationsOFF- Disable all warning categories for REST Swagger schema validationsDEFAULT- Defer tox-gw-suppress-warningsproperties 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
