You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
classStreet {
@ArraySchema(schema = @Schema(implementation = House.class, description = "A house in the street"),
arraySchema = @Schema(description = "The houses in the street"))
publicList<House> houses;
}
When generating OpenAPI 3.0, I get
Street:
type: objectproperties:
houses:
type: arraydescription: The houses in the streetitems:
$ref: "#/components/schemas/House"
The item description is missing, but that's another issue (#3900).
However, when I generate OpenAPI 3.1, I get
Street:
type: objectproperties:
houses:
type: arrayitems:
$ref: "#/components/schemas/House"description: A house in the street
Now, the item description is there, but the array description is missing.