wzhlinux opened a new issue, #11536:
URL: https://github.com/apache/apisix/issues/11536

   ### Description
   
   我添加 labels 标签时遇到了报错,信息如下:
   {"error_msg":"invalid configuration: property \"labels\" validation failed: 
failed to validate appkey (matching \".*\"): string too long, expected at most 
64, got 75"}
   我发现通过apisix/apisix/schema_def.lua可以修改长度
   local label_value_def = {
       description = "value of label",
       type = "string",
       pattern = [[^\S+$]],
       maxLength = 128,
       minLength = 1
   }
   
   我想知道如果修改为128是否会有出现异常
   
   ### Environment
   
   - APISIX version (run `apisix version`): 3.2.2
   - Operating system (run `uname -a`):
   - OpenResty / Nginx version (run `openresty -V` or `nginx -V`):
   - etcd version, if relevant (run `curl 
http://127.0.0.1:9090/v1/server_info`):
   - APISIX Dashboard version, if relevant:
   - Plugin runner version, for issues related to plugin runners:
   - LuaRocks version, for installation issues (run `luarocks --version`):
   


-- 
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]

Reply via email to