You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by sp...@apache.org on 2022/05/05 02:02:56 UTC
[apisix] branch master updated: fix-docs: fix error in doc of request-validation plugin (#6943)
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 <sm...@gmail.com>
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 <lu...@163.com>
---
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": {