-
-
Notifications
You must be signed in to change notification settings - Fork 7k
[jaxrs-spec][quarkus] fix cookie in param #21400
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Thanks for the PR but your commit (as shown in the Commits tab) is not linked to your Github account, which means this PR won't count as your contribution in https://github.com/OpenAPITools/openapi-generator/graphs/contributors. Let me know if you need help fixing it. |
9c6ab93
to
43c65de
Compare
It seems ok now |
43c65de
to
eb66e67
Compare
cc |
tested with a spec with cookie parameters to confirm the fix diff --git a/src/gen/java/org/openapitools/api/PetsApi.java b/src/gen/java/org/openapitools/api/PetsApi.java
index 4b806e6..205e5f1 100644
--- a/src/gen/java/org/openapitools/api/PetsApi.java
+++ b/src/gen/java/org/openapitools/api/PetsApi.java
@@ -17,7 +17,7 @@ import javax.validation.Valid;
*/
@Path("/pets")
@Api(description = "the pets API")
-@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaJAXRSSpecServerCodegen", date = "2025-06-12T18:26:59.266514400+08:00[Asia/Hong_Kong]", comments = "Generator version: 7.14.0-SNAPSHOT")
+@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaJAXRSSpecServerCodegen", date = "2025-06-12T18:28:06.906993300+08:00[Asia/Hong_Kong]", comments = "Generator version: 7.14.0-SNAPSHOT")
public class PetsApi {
@GET
@@ -25,7 +25,7 @@ public class PetsApi {
@ApiResponses(value = {
@ApiResponse(code = 200, message = "OK", response = Void.class)
})
- public Response getCustomer(@HeaderParam("first") String first,@CookieParam("cookieParameter") String cookieParameter) {
+ public Response getCustomer(@HeaderParam("first") String first) {
return Response.ok().entity("magic!").build();
}
}
output compiles without issues
|
CookieParams is not presented in src/main/resources/JavaJaxRS/spec/libraries/quarkus/apiInterface.mustache
Closes #21375