[#10251] Improve the documentation of the option serializationLibrary (#10252)

This commit tries to improve the documentation on the relationship
between the two configuration options library and serializationLibrary.
This commit is contained in:
Oliver B. Fischer 2021-08-25 05:19:01 +03:00 committed by GitHub
parent bf57d58db1
commit 309dccd52e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -177,7 +177,7 @@ public class JavaClientCodegen extends AbstractJavaCodegen
cliOptions.add(libraryOption); cliOptions.add(libraryOption);
setLibrary(OKHTTP_GSON); setLibrary(OKHTTP_GSON);
CliOption serializationLibrary = new CliOption(CodegenConstants.SERIALIZATION_LIBRARY, "Serialization library, default depends from the library"); CliOption serializationLibrary = new CliOption(CodegenConstants.SERIALIZATION_LIBRARY, "Serialization library, default depends on value of the option library");
Map<String, String> serializationOptions = new HashMap<>(); Map<String, String> serializationOptions = new HashMap<>();
serializationOptions.put(SERIALIZATION_LIBRARY_GSON, "Use Gson as serialization library"); serializationOptions.put(SERIALIZATION_LIBRARY_GSON, "Use Gson as serialization library");
serializationOptions.put(SERIALIZATION_LIBRARY_JACKSON, "Use Jackson as serialization library"); serializationOptions.put(SERIALIZATION_LIBRARY_JACKSON, "Use Jackson as serialization library");