Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FR] Consider adding options for model generation #10

Open
sk- opened this issue Feb 3, 2022 · 0 comments
Open

[FR] Consider adding options for model generation #10

sk- opened this issue Feb 3, 2022 · 0 comments

Comments

@sk-
Copy link

sk- commented Feb 3, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant