Skip to content

无法正常生成List<xxx>类型的type #183

@ziqiya

Description

@ziqiya

"@umijs/openapi": "^1.12.1"

当生成例如:

Image

Image

的List/List类型的定义时,都会被转为number/string类型没有数组[],甚至List被转为了String:

Image

Image

必须直接用String[]定义吗,只有这样转化正常:

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions