juicewcode opened a new pull request, #7190:
URL: https://github.com/apache/shenyu/pull/7190
Fixes #6687
## Summary
- Add `@NotEmpty` validation to the registry batch-delete request.
- Add `@NotEmpty` validation to the namespace batch-delete request.
## Test
- Added `RegistryControllerTest#testDeleteRejectsEmptyIds`.
- Added `NamespaceControllerTest#testDeleteRejectsEmptyIds`.
- Tests use Bean Validation's `ExecutableValidator` to verify that empty
ID lists produce constraint violations.
--
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]