Skip to content

@Schema and description not picked up for polymorphic attributes. #2620

Closed
@aykborstelmann

Description

@aykborstelmann

Describe the bug

On a polymorphic attribute, PolymorphicModelConverter simply creates a new schema and ignored the previous.
Thus on the way the resolved @Schema annotation is lost with all it's custom documentation functions, such as description

Metadata

Metadata

Assignees

No one assigned

    Labels

    invalidThis doesn't seem right

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions