Skip to content

[REQ] [Kotlin] Use kotlin.Set for an array with uniqueItems set to true #9848

@marcdejonge

Description

@marcdejonge

When defining an array with uniqueItems set to true, I expect that the type is a Set. But right now it's always a List.

Describe the solution you'd like

Add support for the Set type.

Describe alternatives you've considered

Right now I'm using I'm using custom templates to generate this. I think this would be useful to be part of the default templates.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions