Currently the Swagger classes are generated relying on the third party library Joda Time. This is no longer recommended if you target Java 8 or above. Instead the native Java 8 classes should be used.
For that just set the dateLibrary option to java8 (https://openapi-generator.tech/docs/generators/java/).
Currently the Swagger classes are generated relying on the third party library Joda Time. This is no longer recommended if you target Java 8 or above. Instead the native Java 8 classes should be used. For that just set the
dateLibrary
option tojava8
(https://openapi-generator.tech/docs/generators/java/).