From a9575db601cf472bef7cdd538c1d5d02b7a6b37b Mon Sep 17 00:00:00 2001 From: chengxiaolan <30279880+Hazel6869@users.noreply.github.com> Date: Tue, 9 Aug 2022 18:33:51 +0800 Subject: [PATCH] docs: update pipeline type of batch requests plugin (#7632) --- docs/en/latest/plugins/batch-requests.md | 12 ++++++------ docs/zh/latest/plugins/batch-requests.md | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/docs/en/latest/plugins/batch-requests.md b/docs/en/latest/plugins/batch-requests.md index e4a9c4f81c73..cda3e19246e3 100644 --- a/docs/en/latest/plugins/batch-requests.md +++ b/docs/en/latest/plugins/batch-requests.md @@ -87,12 +87,12 @@ This plugin will create an API endpoint in APISIX to handle batch requests. ### Request -| Name | Type | Required | Default | Description | -| -------- | --------------------------- | -------- | ------- | ----------------------------- | -| query | object | False | | Query string for the request. | -| headers | object | False | | Headers for all the requests. | -| timeout | integer | False | 30000 | Timeout in ms. | -| pipeline | [HttpRequest](#httprequest) | True | | Details of the request. | +| Name | Type | Required | Default | Description | +| -------- |------------------------------------| -------- | ------- | ----------------------------- | +| query | object | False | | Query string for the request. | +| headers | object | False | | Headers for all the requests. | +| timeout | integer | False | 30000 | Timeout in ms. | +| pipeline | array[[HttpRequest](#httprequest)] | True | | Details of the request. | #### HttpRequest diff --git a/docs/zh/latest/plugins/batch-requests.md b/docs/zh/latest/plugins/batch-requests.md index 067031227ea5..10f0c83caf6f 100644 --- a/docs/zh/latest/plugins/batch-requests.md +++ b/docs/zh/latest/plugins/batch-requests.md @@ -88,12 +88,12 @@ curl http://127.0.0.1:9080/apisix/admin/plugin_metadata/batch-requests \ ### 请求参数 -| 参数名 | 类型 | 必选项 | 默认值 | 描述 | -| -------- | --------------------------- | ------ | ------ | -------------------------------- | -| query | object | 否 | | 给所有请求都携带的 `query string`。 | -| headers | object | 否 | | 给所有请求都携带的 `header`。 | -| timeout | number | 否 | 30000 | 聚合请求的超时时间,单位为 `ms`。 | -| pipeline | [HttpRequest](#httprequest) | 是 | | HTTP 请求的详细信息。 | +| 参数名 | 类型 | 必选项 | 默认值 | 描述 | +| -------- |------------------------------------| ------ | ------ | -------------------------------- | +| query | object | 否 | | 给所有请求都携带的 `query string`。 | +| headers | object | 否 | | 给所有请求都携带的 `header`。 | +| timeout | number | 否 | 30000 | 聚合请求的超时时间,单位为 `ms`。 | +| pipeline | array[[HttpRequest](#httprequest)] | 是 | | HTTP 请求的详细信息。 | #### HttpRequest