forked from loafle/openapi-generator-original
This commit tries to improve the documentation on the relationship between the two configuration options library and serializationLibrary.
This commit is contained in:
parent
bf57d58db1
commit
309dccd52e
@ -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");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user