degraphql Configuration
Configuration reference for the degraphql plugin (`degraphql`): the parameters, each attribute with its type, whether it is required, its default and its accepted values.
Parameters
See plugin common configurations (opens in Apache APISIX docs) for configuration options available to all plugins.
query — string · required · since APISIX 3.2.0
GraphQL query to be sent to the upstream.
operation_name — string · optional · since APISIX 3.2.0
Name of the operation. Required if multiple operations are included in the query.
variables — array[string] · optional · since APISIX 3.2.0
Variables used in GraphQL queries.
max_req_body_size — integer · optional · default: 67108864 · since APISIX 3.18.0 · API7 Gateway 3.9.17
Valid values: greater than or equal to 1
Maximum POST request body size in bytes read when extracting configured GraphQL variables. A larger body returns 503 Service Unavailable. The request body is not used when variables is not configured. Introduced in API7 Enterprise 3.9.17 and 3.10.4, and APISIX 3.18.0.