Created by: stijnkoopal
PR checklist
-
Read the contribution guidelines. -
Ran ./bin/spring-mvc-petstore-j8-instant.sh` -
Filed the PR against the correct branch: master,. Default:3.4.x,4.0.xmaster. -
Copied the technical committee to review the pull request if your PR is targeting a particular programming language.
Description of the PR
We are using java.time.Instant as Date(Time) type for all our backend services. Currently we achieve this by using a custom dateLibrary and custom typeMappings and importMappings. This is suboptimal however.
java.time.Instant is a valid type for code generation if you are using UTC timestamps only. Hence, this PR.