Skip to main content

Parameters

See plugin common configurations for configuration options available to all plugins.

  • header_schema

    object


    Schema for request header.

    At lease one of the header_schema and body_schema should be configured.

  • body_schema

    object


    Schema for request body.

    At lease one of the header_schema and body_schema should be configured.

  • rejected_code

    integer

    default: 400

    vaild vaule:

    between 200 and 599 inclusive


    Status code to return when rejecting requests.

  • rejected_msg

    string


    Message to return when rejecting requests.

  • max_req_body_size

    integer

    default: 67108864


    Maximum request body size in bytes buffered into memory. Larger request bodies are rejected. Available in API7 Enterprise from version 3.9.17 on the 3.9 line and from version 3.10.4 on the 3.10 line.