-
-
Notifications
You must be signed in to change notification settings - Fork 7.4k
Closed
Labels
Description
Bug Report Checklist
- Have you provided a full/minimal spec to reproduce the issue?
- Have you validated the input using an OpenAPI validator (example)?
- Have you tested with the latest master to confirm the issue still exists?
- Have you searched for related issues/PRs?
- What's the actual output vs expected output?
- [Optional] Sponsorship to speed up the bug fix or feature request (example)
Description
With java Generator, and the option useJakartaEe enabled, the generated pom includes the dependency com.fasterxml.jackson.jakarta.rs:jackson-jaxrs-json-provider and this should have been com.fasterxml.jackson.jakarta.rs:jackson-jakarta-rs-json-provider. The used dependency includes imports from javax instead of jakarta.
openapi-generator version
7.2.0
Suggest a fix
If useJakartaEe option is enabled for the java generator, the dependency in the pom should be com.fasterxml.jackson.jakarta.rs:jackson-jakarta-rs-json-provider instead of com.fasterxml.jackson.jakarta.rs:jackson-jaxrs-json-provider.
Reactions are currently unavailable