Created by: chameleon82
Java 8 LocalDate
for OpenApi date
and OffsetDateTime
for OpenApi date-time
types support.
Additional property dateLibrary
with joda
and java8
options added. Default to joda
.
I believe joda
should be deprecated regarding to official joda recommendation (https://www.joda.org/joda-time/) and switched by default to java8
date library for all java based languages.
PR checklist
-
Read the contribution guidelines. -
If contributing template-only or documentation-only changes which will change sample output, build the project before. -
Run the shell script(s) under ./bin/
(or Windows batch scripts under.\bin\windows
) to update Petstore samples related to your fix. This is important, as CI jobs will verify all generator outputs of your HEAD commit, and these must match the expectations made by your contribution. You only need to run./bin/{LANG}-petstore.sh
,./bin/openapi3/{LANG}-petstore.sh
if updating the code or mustache templates for a language ({LANG}
) (e.g. php, ruby, python, etc). -
File the PR against the correct branch: master
,4.3.x
,5.0.x
. Default:master
. -
Copy the technical committee to review the pull request if your PR is targeting a particular programming language.
UPD: java8
is a default option for all scala templates with fallback joda
supported option
@clasnake @jimschubert @shijinkui @ramzimaalej