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 does not generate list of objects correctly #54

Closed fsahler closed 1 year ago

fsahler commented 1 year ago

Hi, here is a sample-code:

@ApiModelProperty(notes = "Liste der ProduktgruppenIds") @JsonProperty("produktgruppenids") @Size (min=1, max=80) private List< @Min(1) @Max(100) Long> produktgruppenIds = new ArrayList<>();

The result of the generator is:

_produktgruppenids:

maxItems: 80 minItems: 1 type: array items:

type: integer format: int64_

But the result should look like this:

_produktgruppenids:

maxItems: 80 minItems: 1 type: array items:

maximum: 100 minimum: 1 type: integer format: int64_

Gibt es eine Möglichkeit, dieses Problem zu beheben?

bnasslahsen commented 1 year ago

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