davsclaus opened a new pull request, #24959: URL: https://github.com/apache/camel/pull/24959
## Summary - **RestModelConverters**: use `new ModelConverters()` instead of `ModelConverters.getInstance()` to create Camel-private instances, preventing Camel's custom converters from polluting the JVM-global swagger-core singleton shared by other libraries in the same process. - **RestOpenApiSupport**: use `ObjectWriter.with(DateFormat)` instead of temporarily mutating the global `ObjectMapper`'s date format (save → set → serialize → restore), eliminating a race condition when concurrent HTTP requests serialize OpenAPI specs via `getFromOpenAPI3`. Part of the [CAMEL-24119](https://issues.apache.org/jira/browse/CAMEL-24119) umbrella (thread-safety category). ## Test plan - [x] All 97 existing tests in `camel-openapi-java` pass (model conversion, reader, support, complex types, security schemes) - [ ] Verify no regressions in downstream consumers (`camel-rest-openapi`, Spring Boot / Quarkus OpenAPI integration tests) _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]
