Skip to content

Choose root Schema.#46

Open
rpgoldman wants to merge 2 commits intoinstrumenta:masterfrom
siftech:choose-root-schema
Open

Choose root Schema.#46
rpgoldman wants to merge 2 commits intoinstrumenta:masterfrom
siftech:choose-root-schema

Conversation

@rpgoldman
Copy link
Copy Markdown

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