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

-t/--top-level ignored when using directory input #2538

Open
andreav opened this issue Mar 21, 2024 · 0 comments
Open

-t/--top-level ignored when using directory input #2538

andreav opened this issue Mar 21, 2024 · 0 comments

Comments

@andreav
Copy link

andreav commented Mar 21, 2024

Hello,
I have a folder containing many types, each one in its folder, like in the "Multiple JSON" example here https://app.quicktype.io/

The JSON Schema generated has only "definitions" but no top-level type.

I would like to set the top level type using the -t/--top-level option but it seems ignored.

Is it the attended behaviour?

When I use the -t/--top-level option with files input, it works as expected.

Thank you.

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