Skip to content

[Java] make Java SDK "JDK8" only when setting dateLibrary to "java8" #5863

@Randgalt

Description

@Randgalt
Description

The "dateLibrary" Java option has "java8" as one of its values. The mustache variable for this is also called "java8". This is misnamed. There are other java8 classes that should be substituted when "java8" is suggested. We should support a true "java8" option that uses all Java 8 JDK classes where appropriate.

Swagger-codegen version

2.2.2

Command line used for generation

e.g. swagger-codegen --additional-properties dateLibrary=java8

Suggest a Fix

A PR will be submitted immediately that adds a new option "java8=true"

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions