sejal-gupta-ksolves opened a new pull request, #30856:
URL: https://github.com/apache/camel/pull/30856
# Description
[CAMEL-23599](https://issues.apache.org/jira/browse/CAMEL-23599)
Upgrades Atlassian's request validator from
`com.atlassian.oai:swagger-request-validator-core` (`2.46.1`) to
`com.atlassian.oai:openapi-request-validator-core` (`3.0.0`), completing
[CAMEL-23599](https://issues.apache.org/jira/browse/CAMEL-23599) now that Java
17 has been dropped and Java 21 is the minimum baseline on `main` (CAMEL-22996).
### Summary of Changes
- **Dependencies:** Replaced `swagger-request-validator-version` (`2.46.1`)
with `openapi-request-validator-version` (`3.0.0`) in `parent/pom.xml`, and
updated the dependency coordinates in
`components/camel-openapi-validator/pom.xml`.
- **Unit Tests:** Updated missing required property assertions in
`OpenApiRestClientRequestValidatorTest` and
`OpenApiRestClientResponseValidatorTest` to match the v3 validation error
message format (`"required property 'photoUrls' not found"`), while preserving
`assertNotNull(error)` null-safety checks.
- **Documentation & Catalog:** Updated references and links from
`swagger-request-validator` to `openapi-request-validator` across component
docs, user manual pages, and generated catalog `.adoc` files.
- **SBOM:** Regenerated the CycloneDX SBOM (`camel-sbom/camel-sbom.json` and
`camel-sbom/camel-sbom.xml`) to reflect `[email protected]`.
# 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 have run `mvn clean install -DskipTests` locally from root folder
and I have committed all auto-generated changes.
# AI-assisted contributions
- [ ] 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.
--
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]