Skip to content

Support Java record for @ParameterObejct annotation #1728

Closed
@sallyjellyy

Description

@sallyjellyy

When using @ParameterObject on java record class, individual fields are not showing on swagger-ui.
As far as I know, swagger shows all the parameter needed as long as there are getters for the fields and for record, java compiler automatically produces getter for all the fields.
Is this a bug or there's something I need to know to use ParameterObject annotation on java record?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions