swagger-codegen
swagger-codegen copied to clipboard
[JAVA] Bug. The configuration of dateLibrary does not take effect.
Description
When I use swagger-codegen-cli to generate java client, I found that no matter how my dateLibrary config is configured, such as {"dateLibrary": "java11"}, the generated model code will import org.joda.time.*.
Swagger-codegen version
3.0.34
Swagger declaration file content or url
Command line used for generation
java -jar swagger-codegen-cli.jar generate \
-l java \
-o ./java-sdk \
-i ./docs/api-0.3.0.yaml \
-s false \
-c java-sdk-config.json \
java-sdk-config.json
{
"dateLibrary": "java11",
"fullJavaUtil": true ,
"library": "retrofit2"
}