springdoc / springdoc-openapi-maven-plugin

Library for OpenAPI 3 with spring-boot
https://springdoc.org
Apache License 2.0
141 stars 37 forks source link

Plugin do not generate java.util.Date correctly #52

Closed fsahler closed 1 year ago

fsahler commented 1 year ago

Hi, here is a sample-code:

_@ApiModelProperty(notes = "Datum an dem das Onboarding zuletzt inaktiv geschaltet wurde") @JsonProperty("deactivateddate") @Size (max=32) private Date deactivatedDate;

The generator turns this code into

_deactivateddate: type: string format: date-time

and not into

_deactivateddate: type: string format: date-time maxLength: 32

Is there any way to fix this problem?

bnasslahsen commented 1 year ago

No to conform to contributions to this repository. You should follow its contributing guidelines.