You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shenyu.apache.org by "juicewcode (via GitHub)" <gi...@apache.org> on 2026/09/02 14:41:20 UTC
[PR] fix: enable bean validation for AI proxy API key updates (#6712) [shenyu]
juicewcode opened a new pull request, #7027:
URL: https://github.com/apache/shenyu/pull/7027
Fixes #6712
## Summary
- Added `@Valid` to the `AiProxyApiKeyController.update` request body.
- Enabled existing `ProxyApiKeyDTO` Bean Validation constraints for update requests.
- Added regression coverage for update success, missing mappings, and validation configuration.
## Test
- Added a test verifying the update request body is annotated with `@Valid`.
- Added a test verifying blank `namespaceId` violates Bean Validation.
- Added controller tests for successful updates and missing mappings.
<!-- Describe your PR here; e.g. Fixes #issueNo -->
<!--
Thank you for proposing a pull request. This template will guide you through the essential steps necessary for a pull request.
-->
Make sure that:
- [x] You have read the [contribution guidelines](https://shenyu.apache.org/community/contributor-guide).
- [x] You submit test cases (unit or integration tests) that back your changes.
- [x] Your local test passed `./mvnw clean install -Dmaven.javadoc.skip=true`.
--
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: notifications-unsubscribe@shenyu.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] fix: enable bean validation for AI proxy API key updates (#6712) [shenyu]
Posted by "Aias00 (via GitHub)" <gi...@apache.org>.
Aias00 merged PR #7027:
URL: https://github.com/apache/shenyu/pull/7027
--
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: notifications-unsubscribe@shenyu.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org