Skip to content

Commit 8a64d0d

Browse files
committed
fix JavaJAXRSSpecServerCodegenTest
1 parent 546bf17 commit 8a64d0d

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

modules/openapi-generator/src/test/java/org/openapitools/codegen/java/jaxrs/JavaJAXRSSpecServerCodegenTest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -537,6 +537,7 @@ public void generateApiWithAsyncSupportAndInterfaceOnlyAndJBossResponse() throws
537537
codegen.additionalProperties().put(SUPPORT_ASYNC, true); //Given support async is enabled
538538
codegen.additionalProperties().put(INTERFACE_ONLY, true); //And only interfaces are generated
539539
codegen.additionalProperties().put(RETURN_JBOSS_RESPONSE, true); //And return type is RestResponse
540+
codegen.additionalProperties().put(USE_JAKARTA_EE, true); //And return type is RestResponse
540541

541542
final ClientOptInput input = new ClientOptInput()
542543
.openAPI(openAPI)
@@ -1055,6 +1056,7 @@ public void generateSpecInterfaceWithMutinyAndJBossResponse() throws Exception {
10551056
codegen.additionalProperties().put(INTERFACE_ONLY, true); //And only interfaces are generated
10561057
codegen.additionalProperties().put(USE_TAGS, true); //And use tags to generate everything in several API files
10571058
codegen.additionalProperties().put(RETURN_JBOSS_RESPONSE, true); // Use JBoss Response type
1059+
codegen.additionalProperties().put(USE_JAKARTA_EE, true); // Use JBoss Response type
10581060
codegen.additionalProperties().put(SUPPORT_ASYNC, true);
10591061
codegen.additionalProperties().put(USE_MUTINY, true); // Use Mutiny
10601062
codegen.setLibrary(QUARKUS_LIBRARY); // Set Quarkus

0 commit comments

Comments
 (0)