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 bbbfc85
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: docs/generators/java-microprofile.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -111,6 +111,7 @@ These options may be applied as additional-properties (cli) or configOptions (pl
111
111
|useSingleRequestParameter|Setting this property to "true" will generate functions with a single argument containing all API endpoint parameters instead of one argument per parameter. ONLY native, jersey2, jersey3, okhttp-gson, microprofile, Spring RestClient, Spring WebClient support this option. Setting this property to "static" does the same as "true", but also makes the generated arguments class static with single parameter instantiation.||false|
112
112
|useSpringBoot4|Generate code and provide dependencies for use with Spring Boot 4.x.||false|
113
113
|useUnaryInterceptor|If true it will generate ResponseInterceptors using a UnaryOperator. This can be usefull for manipulating the request before it gets passed, for example doing your own decryption||false|
114
+
|useVertx5|Whether to use Vert.x 5 syntax.||false|
114
115
|webclientBlockingOperations|Making all WebClient operations blocking(sync). Note that if on operation 'x-webclient-blocking: false' then such operation won't be sync||false|
115
116
|withAWSV4Signature|whether to include AWS v4 signature support (only available for okhttp-gson library)||false|
116
117
|withXml|whether to include support for application/xml content type and include XML annotations in the model (works with libraries that provide support for JSON and XML)||false|
Copy file name to clipboardExpand all lines: docs/generators/java.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -111,6 +111,7 @@ These options may be applied as additional-properties (cli) or configOptions (pl
111
111
|useSingleRequestParameter|Setting this property to "true" will generate functions with a single argument containing all API endpoint parameters instead of one argument per parameter. ONLY native, jersey2, jersey3, okhttp-gson, microprofile, Spring RestClient, Spring WebClient support this option. Setting this property to "static" does the same as "true", but also makes the generated arguments class static with single parameter instantiation.||false|
112
112
|useSpringBoot4|Generate code and provide dependencies for use with Spring Boot 4.x.||false|
113
113
|useUnaryInterceptor|If true it will generate ResponseInterceptors using a UnaryOperator. This can be usefull for manipulating the request before it gets passed, for example doing your own decryption||false|
114
+
|useVertx5|Whether to use Vert.x 5 syntax.||false|
114
115
|webclientBlockingOperations|Making all WebClient operations blocking(sync). Note that if on operation 'x-webclient-blocking: false' then such operation won't be sync||false|
115
116
|withAWSV4Signature|whether to include AWS v4 signature support (only available for okhttp-gson library)||false|
116
117
|withXml|whether to include support for application/xml content type and include XML annotations in the model (works with libraries that provide support for JSON and XML)||false|
publicstaticfinalStringUSE_SINGLE_REQUEST_PARAMETER_DESC = "Setting this property to true will generate functions with a single argument containing all API endpoint parameters instead of one argument per parameter.";
408
408
409
+
publicstaticfinalStringUSE_VERTX_5 = "useVertx5";
410
+
publicstaticfinalStringUSE_VERTX_5_DESC = "Setting this property to true will generate Vert.x 5 specific callbacks using Callables.";
@@ -130,6 +131,7 @@ public class JavaClientCodegen extends AbstractJavaCodegen
130
131
protectedbooleanuseRxJava = false;
131
132
protectedbooleanuseRxJava2 = false;
132
133
protectedbooleanuseRxJava3 = false;
134
+
@SetterprotectedbooleanuseVertx5 = false;
133
135
// backwards compatibility for openapi configs that specify neither rx1 nor rx2
134
136
// (mustache does not allow for boolean operators so we need this extra field)
135
137
@SetterprotectedbooleandoNotUseRx = true;
@@ -243,6 +245,7 @@ public JavaClientCodegen() {
243
245
cliOptions.add(CliOption.newBoolean(USE_RX_JAVA2, "Whether to use the RxJava2 adapter with the retrofit2 library. IMPORTANT: This option has been deprecated."));
244
246
cliOptions.add(CliOption.newBoolean(USE_RX_JAVA3, "Whether to use the RxJava3 adapter with the retrofit2 library. IMPORTANT: This option has been deprecated."));
245
247
cliOptions.add(CliOption.newBoolean(PARCELABLE_MODEL, "Whether to generate models for Android that implement Parcelable with the okhttp-gson library."));
248
+
cliOptions.add(CliOption.newBoolean(USE_VERTX_5, "Whether to use Vert.x 5 syntax."));
0 commit comments