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
Copy file name to clipboardExpand all lines: docs/generators/jaxrs-cxf-cdi.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -82,7 +82,7 @@ These options may be applied as additional-properties (cli) or configOptions (pl
82
82
|title|a title describing the application||OpenAPI Server|
83
83
|useBeanValidation|Use BeanValidation API annotations||true|
84
84
|useJakartaEe|whether to use Jakarta EE namespace instead of javax||false|
85
-
|useJakartaSecurityAnnotations|Whether to generate Jakarta security annotations (@RolesAllowed, @PermitAll). Currently only supported when library is set to quarkus.||false|
85
+
|useJakartaSecurityAnnotations|Whether to generate Jakarta security annotations (@RolesAllowed, @PermitAll). Requires useJakartaEe=true. Currently only supported when library is set to quarkus.||false|
86
86
|useMicroProfileOpenAPIAnnotations|Whether to generate Microprofile OpenAPI annotations. Only valid when library is set to quarkus.||false|
87
87
|useMutiny|Whether to use Smallrye Mutiny instead of CompletionStage for asynchronous computation. Only valid when library is set to quarkus.||false|
88
88
|useOneOfInterfaces|whether to use a java interface to describe a set of oneOf options, where each option is a class that implements the interface||false|
Copy file name to clipboardExpand all lines: samples/server/petstore/jaxrs-spec-microprofile-openapi-annotations/src/gen/java/org/openapitools/api/PetApi.java
@@ -83,7 +83,7 @@ public Response addPet(@Valid @NotNull Pet pet) {
83
83
84
84
})
85
85
})
86
-
publicResponsedeletePet(@PathParam("petId") @org.eclipse.microprofile.openapi.annotations.parameters.Parameter(description="Pet id to delete") LongpetId) {
86
+
publicResponsedeletePet(@PathParam("petId") @org.eclipse.microprofile.openapi.annotations.parameters.Parameter(description="Pet id to delete") LongpetId) {
87
87
returnResponse.ok().entity("magic!").build();
88
88
}
89
89
@@ -106,7 +106,7 @@ public Response deletePet(@PathParam("petId") @org.eclipse.microprofile.openapi.
publicResponsefindPetsByStatus(@Deprecated@QueryParam("status") @NotNull@org.eclipse.microprofile.openapi.annotations.parameters.Parameter(description="Status values that need to be considered for filter") List<String> status) {
109
+
publicResponsefindPetsByStatus(@Deprecated@QueryParam("status") @NotNull@org.eclipse.microprofile.openapi.annotations.parameters.Parameter(description="Status values that need to be considered for filter") List<String> status) {
110
110
returnResponse.ok().entity("magic!").build();
111
111
}
112
112
@@ -130,7 +130,7 @@ public Response findPetsByStatus(@Deprecated @QueryParam("status") @NotNull @or
publicResponsegetPetById(@PathParam("petId") @org.eclipse.microprofile.openapi.annotations.parameters.Parameter(description="ID of pet to return") LongpetId) {
160
+
publicResponsegetPetById(@PathParam("petId") @org.eclipse.microprofile.openapi.annotations.parameters.Parameter(description="ID of pet to return") LongpetId) {
161
161
returnResponse.ok().entity("magic!").build();
162
162
}
163
163
@@ -188,7 +188,7 @@ public Response getPetById(@PathParam("petId") @org.eclipse.microprofile.openapi
@@ -206,7 +206,7 @@ public Response updatePet(@Valid @NotNull Pet pet) {
206
206
207
207
})
208
208
})
209
-
publicResponseupdatePetWithForm(@PathParam("petId") @org.eclipse.microprofile.openapi.annotations.parameters.Parameter(description="ID of pet that needs to be updated") LongpetId,@FormParam(value = "name") Stringname,@FormParam(value = "status") Stringstatus) {
209
+
publicResponseupdatePetWithForm(@PathParam("petId") @org.eclipse.microprofile.openapi.annotations.parameters.Parameter(description="ID of pet that needs to be updated") LongpetId,@FormParam(value = "name") Stringname,@FormParam(value = "status") Stringstatus) {
210
210
returnResponse.ok().entity("magic!").build();
211
211
}
212
212
@@ -225,7 +225,7 @@ public Response updatePetWithForm(@PathParam("petId") @org.eclipse.microprofile.
publicResponseuploadFile(@PathParam("petId") @org.eclipse.microprofile.openapi.annotations.parameters.Parameter(description="ID of pet to update") LongpetId,@FormParam(value = "additionalMetadata") StringadditionalMetadata,@FormParam(value = "file") InputStream_fileInputStream) {
228
+
publicResponseuploadFile(@PathParam("petId") @org.eclipse.microprofile.openapi.annotations.parameters.Parameter(description="ID of pet to update") LongpetId,@FormParam(value = "additionalMetadata") StringadditionalMetadata,@FormParam(value = "file") InputStream_fileInputStream) {
Copy file name to clipboardExpand all lines: samples/server/petstore/jaxrs-spec-microprofile-openapi-annotations/src/gen/java/org/openapitools/api/StoreApi.java
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -60,7 +60,7 @@ public class StoreApi {
60
60
61
61
})
62
62
})
63
-
publicResponsedeleteOrder(@PathParam("orderId") @org.eclipse.microprofile.openapi.annotations.parameters.Parameter(description="ID of the order that needs to be deleted") StringorderId) {
63
+
publicResponsedeleteOrder(@PathParam("orderId") @org.eclipse.microprofile.openapi.annotations.parameters.Parameter(description="ID of the order that needs to be deleted") StringorderId) {
64
64
returnResponse.ok().entity("magic!").build();
65
65
}
66
66
@@ -78,7 +78,7 @@ public Response deleteOrder(@PathParam("orderId") @org.eclipse.microprofile.open
publicResponsegetOrderById(@PathParam("orderId") @Min(1L) @Max(5L) @org.eclipse.microprofile.openapi.annotations.parameters.Parameter(description="ID of pet that needs to be fetched") LongorderId) {
106
+
publicResponsegetOrderById(@PathParam("orderId") @Min(1L) @Max(5L) @org.eclipse.microprofile.openapi.annotations.parameters.Parameter(description="ID of pet that needs to be fetched") LongorderId) {
107
107
returnResponse.ok().entity("magic!").build();
108
108
}
109
109
@@ -125,7 +125,7 @@ public Response getOrderById(@PathParam("orderId") @Min(1L) @Max(5L) @org.eclips
Copy file name to clipboardExpand all lines: samples/server/petstore/jaxrs-spec-microprofile-openapi-annotations/src/gen/java/org/openapitools/api/UserApi.java
publicResponsedeleteUser(@PathParam("username") @org.eclipse.microprofile.openapi.annotations.parameters.Parameter(description="The name that needs to be deleted") Stringusername) {
118
+
publicResponsedeleteUser(@PathParam("username") @org.eclipse.microprofile.openapi.annotations.parameters.Parameter(description="The name that needs to be deleted") Stringusername) {
119
119
returnResponse.ok().entity("magic!").build();
120
120
}
121
121
@@ -140,7 +140,7 @@ public Response deleteUser(@PathParam("username") @org.eclipse.microprofile.open
publicResponsegetUserByName(@PathParam("username") @org.eclipse.microprofile.openapi.annotations.parameters.Parameter(description="The name that needs to be fetched. Use user1 for testing.") Stringusername) {
143
+
publicResponsegetUserByName(@PathParam("username") @org.eclipse.microprofile.openapi.annotations.parameters.Parameter(description="The name that needs to be fetched. Use user1 for testing.") Stringusername) {
144
144
returnResponse.ok().entity("magic!").build();
145
145
}
146
146
@@ -165,7 +165,7 @@ public Response getUserByName(@PathParam("username") @org.eclipse.microprofile.o
publicResponseloginUser(@QueryParam("username") @NotNull@Pattern(regexp="^[a-zA-Z0-9]+[a-zA-Z0-9\\.\\-_]*[a-zA-Z0-9]+$") @org.eclipse.microprofile.openapi.annotations.parameters.Parameter(description="The user name for login") Stringusername,@QueryParam("password") @NotNull@org.eclipse.microprofile.openapi.annotations.parameters.Parameter(description="The password for login in clear text") Stringpassword) {
168
+
publicResponseloginUser(@QueryParam("username") @NotNull@Pattern(regexp="^[a-zA-Z0-9]+[a-zA-Z0-9\\.\\-_]*[a-zA-Z0-9]+$") @org.eclipse.microprofile.openapi.annotations.parameters.Parameter(description="The user name for login") Stringusername,@QueryParam("password") @NotNull@org.eclipse.microprofile.openapi.annotations.parameters.Parameter(description="The password for login in clear text") Stringpassword) {
169
169
returnResponse.ok().entity("magic!").build();
170
170
}
171
171
@@ -182,7 +182,7 @@ public Response loginUser(@QueryParam("username") @NotNull @Pattern(regexp="^[a-
182
182
183
183
})
184
184
})
185
-
publicResponselogoutUser() {
185
+
publicResponselogoutUser() {
186
186
returnResponse.ok().entity("magic!").build();
187
187
}
188
188
@@ -203,7 +203,7 @@ public Response logoutUser() {
203
203
204
204
})
205
205
})
206
-
publicResponseupdateUser(@PathParam("username") @org.eclipse.microprofile.openapi.annotations.parameters.Parameter(description="name that need to be deleted") Stringusername,@Valid@NotNullUseruser) {
206
+
publicResponseupdateUser(@PathParam("username") @org.eclipse.microprofile.openapi.annotations.parameters.Parameter(description="name that need to be deleted") Stringusername,@Valid@NotNullUseruser) {
0 commit comments