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

Choose root Schema. #46

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

rpgoldman
Copy link

Sometimes one wants to pull out a file for one specific JSON schema (and its dependencies); this PR adds the capability to do that.

Allow the user to choose a root schema and pull out a self-contained json schema .json file for that schema.
Adds "--root" argument to the command-line executable.

Allow the user to choose a root schema and pull out a self contained json schema .json file for that schema.
Adds "--root" argument.
Previously, when giving the --root argument, you would get all the files o2js would ordinarily generate *and* the requested standalone file for the root. Now we don't generate the unnecessary files.
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

Successfully merging this pull request may close these issues.

1 participant