jamesnetherton opened a new issue, #9620: URL: https://github.com/apache/camel-quarkus/issues/9620
`openai-java` is compiled against `jsonschema-generator` 4.x, where `SchemaGenerator.generateSchema` returns a Jackson 2 `ObjectNode`. In 5.x, which `quarkus-mcp-server` requires, it returns a Jackson 3 `ObjectNode`. To make both work together, the Camel Quarkus BOM manages `jsonschema-generator` 5.x and the `openai` extension rewrites the call in `com.openai.core.StructuredOutputsKt` with a `BytecodeTransformerBuildItem`. When `openai-java` is aligned with `jsonschema-generator` 5.x, and Camel has upgraded to that release: - Remove the bytecode transformer from `OpenaiProcessor` - Remove `JsonSchemaGeneratorSupport` from the `openai` runtime module - Review whether the `jsonschema-generator` entries in `poms/bom/pom.xml` are still needed - Review whether the Jackson 2 serializer reflection registrations in `OpenaiProcessor` are still needed Depends on https://github.com/openai/openai-java/issues/847. -- 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]
