This is an automated email from the ASF dual-hosted git repository.
spacewander pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix.git
The following commit(s) were added to refs/heads/master by this push:
new f78d04598 fix-docs: fix error in doc of request-validation plugin
(#6943)
f78d04598 is described below
commit f78d0459837c22723f6481af54b37d00932386fe
Author: smile-luobin <[email protected]>
AuthorDate: Thu May 5 10:02:50 2022 +0800
fix-docs: fix error in doc of request-validation plugin (#6943)
Signed-off-by: smile-luobin <[email protected]>
---
docs/en/latest/plugins/request-validation.md | 12 ++++++------
docs/zh/latest/plugins/request-validation.md | 10 +++++-----
2 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/docs/en/latest/plugins/request-validation.md
b/docs/en/latest/plugins/request-validation.md
index 36ccf424c..3c3770c53 100644
--- a/docs/en/latest/plugins/request-validation.md
+++ b/docs/en/latest/plugins/request-validation.md
@@ -55,9 +55,9 @@ curl http://127.0.0.1:9080/apisix/admin/routes/5 -H
'X-API-KEY: edd1c9f034335f13
"properties": {
"required_payload": {"type": "string"},
"boolean_payload": {"type": "boolean"}
- },
- "rejected_msg": "customize reject message"
- }
+ }
+ },
+ "rejected_msg": "customize reject message"
}
},
"upstream": {
@@ -262,9 +262,9 @@ curl http://127.0.0.1:9080/apisix/admin/routes/5 -H
'X-API-KEY: edd1c9f034335f13
"properties": {
"required_payload": {"type": "string"},
"boolean_payload": {"type": "boolean"}
- },
- "rejected_msg": "customize reject message"
- }
+ }
+ },
+ "rejected_msg": "customize reject message"
}
},
"upstream": {
diff --git a/docs/zh/latest/plugins/request-validation.md
b/docs/zh/latest/plugins/request-validation.md
index 78bc0ad35..908762d59 100644
--- a/docs/zh/latest/plugins/request-validation.md
+++ b/docs/zh/latest/plugins/request-validation.md
@@ -54,9 +54,9 @@ curl http://127.0.0.1:9080/apisix/admin/routes/5 -H
'X-API-KEY: edd1c9f034335f13
"properties": {
"required_payload": {"type": "string"},
"boolean_payload": {"type": "boolean"}
- },
- "rejected_msg": "customize reject message"
+ }
}
+ "rejected_msg": "customize reject message"
}
},
"upstream": {
@@ -260,9 +260,9 @@ curl http://127.0.0.1:9080/apisix/admin/routes/5 -H
'X-API-KEY: edd1c9f034335f13
"properties": {
"required_payload": {"type": "string"},
"boolean_payload": {"type": "boolean"}
- },
- "rejected_msg": "customize reject message"
- }
+ }
+ },
+ "rejected_msg": "customize reject message"
}
},
"upstream": {