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

Support generation from string literals #58

Open
itegulov opened this issue Aug 3, 2022 · 0 comments
Open

Support generation from string literals #58

itegulov opened this issue Aug 3, 2022 · 0 comments

Comments

@itegulov
Copy link

itegulov commented Aug 3, 2022

It would be nice to have an option of passing a string literal to Generator instead of a file path. Think of a case when user's JSON Schema is a part of a bigger JSON file or is a file inside of an archive. I have already implemented this functionality in our fork (see https://github.com/near/schemafy/pull/1/files#diff-bea88ef3ad765bc1058b75944aab0ac87eb4cd96906670cf16bc2bb45a0eb537, ignore other changes in that PR), but happy to prepare this as an upstream PR if you are open to adding this.

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