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
{{ message }}
Repository navigation
Commit bc6433f
Browse filesBrowse the repository at this point in the historyBrowse files
[jaxrs-spec][quarkus] Migrate the Jakarta path to Quarkus REST
The quarkus library generated for RESTEasy Classic (quarkus-resteasy), while
current Quarkus defaults to Quarkus REST. One consequence is that file form
parameters were bound to InputStream, which Quarkus REST does not support as a
multipart type.
Under useJakartaEe=true the generated project now depends on quarkus-rest and
binds file form parameters to the RESTEasy Reactive multipart type
(`@RestForm FileUpload`). The platform moves to 3.27.4.1 (oldest supported LTS)
and the BOM to quarkus-bom, since quarkus-universe-bom was discontinued after
3.0.1 and quarkus-rest does not exist before 3.9. quarkus-hibernate-validator
is now declared explicitly because, unlike quarkus-resteasy, quarkus-rest does
not pull bean validation in transitively.
The compiler release moves to 17 on that path, as Quarkus 3.x requires it, so
the quarkus-security sample moves from the JDK 11 samples-jaxrs workflow to
samples-jdk17.
The useJakartaEe=false path is pinned to Quarkus 1.13.7, which predates Quarkus
REST, so it keeps RESTEasy Classic, Java 8 and its InputStream binding unchanged.
Refs #24454
Copy file name to clipboardExpand all lines: modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/JavaJAXRSSpecServerCodegen.java
+7Lines changed: 7 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -393,6 +393,13 @@ public OperationsMap postProcessOperationsWithModels(OperationsMap objs, List<Mo
Copy file name to clipboardExpand all lines: modules/openapi-generator/src/test/java/org/openapitools/codegen/java/jaxrs/JavaJAXRSSpecServerCodegenTest.java
+55Lines changed: 55 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -2424,4 +2424,59 @@ public void generatesEmailAnnotationOnQueryParameterWhenBeanValidationEnabled()
0 commit comments