Skip to content

Commit

Permalink
Set default value true for useResponseAsReturnType cli option
Browse files Browse the repository at this point in the history
  • Loading branch information
lsuski authored Feb 7, 2025
1 parent 1b8368e commit 2e4b0e3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ public KotlinClientCodegen() {
cliOptions.add(serializationLibraryOpt.defaultValue(serializationLibrary.name()));

cliOptions.add(CliOption.newBoolean(USE_NON_ASCII_HEADERS, "Allow to use non-ascii headers with the okhttp library"));
cliOptions.add(CliOption.newBoolean(USE_RESPONSE_AS_RETURN_TYPE, "When using retrofit2 and coroutines, use `Response<T>` as return type instead of `T`."));
cliOptions.add(CliOption.newBoolean(USE_RESPONSE_AS_RETURN_TYPE, "When using retrofit2 and coroutines, use `Response<T>` as return type instead of `T`.", true));
}

@Override
Expand Down

0 comments on commit 2e4b0e3

Please sign in to comment.