davsclaus opened a new pull request, #30964: URL: https://github.com/apache/camel/pull/30964
# Description Part of [CAMEL-23832](https://issues.apache.org/jira/browse/CAMEL-23832). The umbrella ticket stays open. ## Summary This rewrites 21 texts of `ibm-watson-speech-to-text`: the component description, the 8 options that the component and the endpoint share, the `configuration` component option, the `label` path and the 10 headers. Most old texts were short ("The operation to perform", "Logical name", "Component configuration") and did not say that a header replaces each option, which operations read an option or header, or that the producer sets `CamelIBMWatsonSTTModel` and `CamelIBMWatsonSTTContentType` on the result. The `serviceUrl` text now gives the default URL of the SDK, `speakerLabels` says that the service then also returns timestamps, and `CamelIBMWatsonSTTModelName` says that `getCustomModel` reads it as a customization ID. The `model` examples use the current Multimedia and Telephony models. Sources: the Camel code of the component and the IBM Watson Java SDK `com.ibm.watson:speech-to-text` 16.2.0 (`SpeechToText`, `RecognizeOptions`, `ListLanguageModelsOptions`, `GetLanguageModelOptions`). ### Found, not changed - The `label` path is required but the component does not use it. - The `CamelIBMWatsonSTTModelName` header is also the customization ID (a GUID) of `getCustomModel`, which its name does not suggest. - `serviceUrl` has the label `common`, though the component is producer only. - The component extends `HealthCheckComponent`, but it has no health check, so `healthCheckConsumerEnabled` and `healthCheckProducerEnabled` do nothing. - The default model `en-US_BroadbandModel` is a previous-generation model; IBM recommends the next-generation (`en-US_Multimedia`) and large speech models. - The headers have no `label = "producer"`. ## Tests - There is no new test, as only description text changes. - A script compared the component JSON with the parent commit: only `description` fields changed (29 fields: 1 component, 9 component options, 9 endpoint options, 10 headers; 21 distinct texts). # Target - [x] I checked that the commit is targeting the correct branch (Camel 4 uses the `main` branch) # Tracking - [x] If this is a large change, bug fix, or code improvement, I checked there is a [JIRA issue](https://issues.apache.org/jira/browse/CAMEL) filed for the change (usually before you start working on it). # Apache Camel coding standards and style - [x] I checked that each commit in the pull request has a meaningful subject line and body. - [x] I ran the formatter and built the module, then regenerated the catalog copy, `dsl/camel-endpointdsl` and `dsl/camel-componentdsl`, and committed all generated changes. # AI-assisted contributions - [x] If this PR includes AI-generated code, commits have proper co-authorship attribution (e.g., `Co-authored-by` trailers) and the PR description identifies the AI tool used. _Claude Code on behalf of davsclaus_ 🤖 Generated with [Claude Code](https://claude.com/claude-code) -- 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]
