davsclaus commented on code in PR #29963:
URL: https://github.com/apache/camel/pull/29963#discussion_r4575237701


##########
components/camel-azure/camel-azure-key-vault/src/main/java/org/apache/camel/component/azure/key/vault/KeyVaultConstants.java:
##########
@@ -23,14 +23,14 @@ public final class KeyVaultConstants {
 
     // headers set by the producer only
     @Metadata(label = "producer", description = "Overrides the desired 
operation to be used in the producer.",
-              javaType = 
"org.apache.camel.component.azure.key.vault.KeyVaultOperationDefinition")
+              javaType = 
"org.apache.camel.component.azure.key.vault.KeyVaultOperation")
     public static final String OPERATION = HEADER_PREFIX + "ProducerOperation";
     // headers set by the producer only
     @Metadata(label = "producer", description = "The secret name to be used in 
Key Vault",
               javaType = "String")
     public static final String SECRET_NAME = HEADER_PREFIX + "SecretName";
     @Metadata(label = "producer", description = "The secret properties to be 
used in Key Vault for updating a secret",

Review Comment:
   This PR only changes the `javaType` in `@Metadata` and the files generated 
from it; `KeyVaultProducer` is unchanged. It already reads the header as 
`SecretProperties` (`KeyVaultProducer.java:153`), and `KeyVaultOperationsIT` 
sends a `SecretProperties`, so a test would pass before and after this change. 
The documented type was wrong, not the behaviour. Resolving.
   
   _Claude Code on behalf of davsclaus_



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