Skip to main content
Feedback

JSON Schema And Payload Size Validation Connector Configuration Values

Configuration Values

The following configuration values can be defined while configuring JSON Schema And Payload Size Validation Connector on the Call Transformation page:

Field nameTypeField ValueRequired/OptionalDescription
Processing AdapterStringcom.mashery.proxy.customer.generic.json-schema-validatorRequiredAdapter used to validate the request against the configured JSON schema and payload size limits.
Perform Pre-processing or Perform Post-processingBooleanEnabledOptionalWhen enabled for pre-processing, validates the incoming API request before it is forwarded for further processing. When enabled for post-processing, validates the backend response after request processing is complete.
Data to make available for pre-processing (PreInput Value) or Data to make available for post-processing (PostInput Value)MapRequiredSpecifies the input data made available to the pre-processing or post-processing adapter.
max_payload_size: <size in kb>OptionalSpecify <size in kb>. Maximum allowed payload size.
fail_safe: <flag>OptionalSpecify <flag>. Default is false. Any value besides true is treated as false.
override_custom_error_message: <flag>OptionalSpecify <flag>. Default is false. Enables static custom messages and overrides the connector runtime message.

Examples

Data to make available for pre-processing or post-processing

The following is an example value for Data to make available for pre-processing field or Data to make available for post-processing field.

max_payload_size : 600
fail_safe : true
override_custom_error_message : true

Configuration Steps

Refer to the Configuring Call Transformation for an Endpoint for more information on the configuration steps.

On this Page