nic-6443 commented on code in PR #12405:
URL: https://github.com/apache/apisix/pull/12405#discussion_r2191395506
##########
apisix/plugins/forward-auth.lua:
##########
@@ -41,6 +44,21 @@ local schema = {
items = {type = "string"},
description = "client request header that will be sent to the
authorization service"
},
+ extra_headers = {
+ type = "object",
+ minProperties = 1,
+ patternProperties = {
+ ["^[^:]+$"] = {
+ oneOf = {
+ { type = "string" },
+ { type = "number" },
Review Comment:
In what scenarios do we need to use the number type as a value?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]