You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by "hzp-excellent (via GitHub)" <gi...@apache.org> on 2025/12/11 13:16:28 UTC

[PR] 批量删除配置参数校验 [servicecomb-kie]

hzp-excellent opened a new pull request, #329:
URL: https://github.com/apache/servicecomb-kie/pull/329

   (no comment)


-- 
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: commits-unsubscribe@servicecomb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] 批量删除配置参数校验 [servicecomb-kie]

Posted by "humingcheng (via GitHub)" <gi...@apache.org>.
humingcheng merged PR #329:
URL: https://github.com/apache/servicecomb-kie/pull/329


-- 
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: commits-unsubscribe@servicecomb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] 批量删除配置参数校验 [servicecomb-kie]

Posted by "humingcheng (via GitHub)" <gi...@apache.org>.
humingcheng commented on code in PR #329:
URL: https://github.com/apache/servicecomb-kie/pull/329#discussion_r2610556263


##########
server/resource/v1/doc_struct.go:
##########
@@ -202,7 +202,7 @@ type KVUpdateBody struct {
 
 // DeleteBody is the request body struct of delete multiple kvs interface
 type DeleteBody struct {
-	IDs []string `json:"ids"`
+	IDs []string `json:"ids" validate:"required,min=1,max=100,dive,required"`

Review Comment:
   补充测试用例



-- 
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: commits-unsubscribe@servicecomb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org