gnodet-bot commented on code in PR #31220:
URL: https://github.com/apache/camel/pull/31220#discussion_r4764314313


##########
core/camel-main/src/main/java/org/apache/camel/main/SSLConfigurationProperties.java:
##########
@@ -84,6 +84,8 @@ public class SSLConfigurationProperties implements 
BootstrapCloseable {
     private String secureRandomProvider;
     @Metadata(defaultValue = "NONE", enums = "NONE,WANT,REQUIRE")
     private String clientAuthentication = "NONE";
+    @Metadata
+    private String endpointIdentificationAlgorithm;

Review Comment:
   The `@Metadata` annotation here is bare (no `description`), while 
`AbstractSSLContextClientParametersFactoryBean` uses an explicit `description` 
for the same field. The generator does pick up the description from the setter 
Javadoc (the generated `camel-main-configuration-metadata.json` is correct), so 
this doesn't affect tooling. For consistency and self-documentation at the 
source level, consider adding the description here too:
   
   ```suggestion
       @Metadata(description = "The endpoint identification algorithm, such as 
HTTPS or LDAPS, that client sockets use to"
                               + " check that the certificate of the server 
matches the host they connect to (host name"
                               + " verification). Unset by default: no host 
name verification.")
       private String endpointIdentificationAlgorithm;
   ```



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