We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In openapi, if the field defined as date format:
startDate: type: "string" format: "date"
Codegen will generate the field as LocalDate in the model.
@JsonProperty("startDate") public java.time.LocalDate getStartDate() { return startDate; }
But for the array (list) with same definition:
datelist: type: "array" items: type: "string" format: "date"
Codegen will generate field as String List.
@JsonProperty("datelist") public java.util.List<String> getDatelist() { return datelist; }
We should make it consistent to be list of LocalDate
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In openapi, if the field defined as date format:
Codegen will generate the field as LocalDate in the model.
But for the array (list) with same definition:
Codegen will generate field as String List.
We should make it consistent to be list of LocalDate
The text was updated successfully, but these errors were encountered: