Skip to content

[FR] Consider adding options for model generation #10

@sk-

Description

@sk-

We are exploring this package and noticed that array types are too extensive, as there's a union of tuple for each valid array length.

It'd be great if we could specify options for the underlying call to json-schema-to-typescript/compile.

In particular the one that disables generating such long types is ignoreMinAndMaxItems. See https://github.com/bcherny/json-schema-to-typescript#options

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions