You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Java Jersey3 client generation generates code that includes the Jakarta Annotation API
@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.12.0-SNAPSHOT")
public class FakeApi {
private ApiClient apiClient;
...
However, I might not want to include these annotations, as they require in the pom.xml the jakarta.annotation-api (which I don't necessarily want to add in my application)
<!-- Jakarta Annotation API support -->
<dependency>
<groupId>jakarta.annotation</groupId>
<artifactId>jakarta.annotation-api</artifactId>
<version>${jakarta-annotation-version}</version>
<scope>provided</scope>
</dependency>
Proposed Improvement
Make the Jakarta Annotation API optional: by default, they are included, however, developers can decide to exclude them during the generation using a new config option.
The text was updated successfully, but these errors were encountered:
gcatanese
changed the title
[REQ] [JAVA} Jersey3 (client): Make Jakarta Annotation API optional
[REQ] [JAVA] Jersey3 (client): Make Jakarta Annotation API optional
Feb 2, 2025
The Java Jersey3 client generation generates code that includes the Jakarta Annotation API
However, I might not want to include these annotations, as they require in the
pom.xml
thejakarta.annotation-api
(which I don't necessarily want to add in my application)Proposed Improvement
Make the Jakarta Annotation API optional: by default, they are included, however, developers can decide to exclude them during the generation using a new config option.
The text was updated successfully, but these errors were encountered: