Dhairya-007 commented on PR #29425:
URL: https://github.com/apache/camel/pull/29425#issuecomment-6726720903

   Applied in 55570e7 — you're right that deriving it is the actual fix rather 
than correcting the literal.
   
   For the record, `EndpointSchemaGeneratorMojo.gatherEnums(UriParam, Class)` 
falls through to `doGatherFromEnum` when `enums` is empty, and that lists 
`toString()` of each constant, so the generated JSON is byte-identical to 
what's already committed — `[ "HMAC256", "HMAC384", "HMAC512" ]`. The 
difference is that it can no longer drift: adding a constant to `JwtAlgorithm` 
now advertises it automatically, and the `JwtHelperTest` added here still fails 
the build if that new constant has no case in `JwtHelper.selectAlgorithm`.


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