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

Feature: Deep reading values and generating schema #8

Open
karuppiah7890 opened this issue Mar 30, 2020 · 4 comments
Open

Feature: Deep reading values and generating schema #8

karuppiah7890 opened this issue Mar 30, 2020 · 4 comments

Comments

@karuppiah7890
Copy link

Currently the repo supports reading the type alone and generating schema

I have forked this repo here - https://github.com/karuppiah7890/go-jsonschema-generator to add functions to do a deep read - where the all the values of the input are read in a deep manner - that is - read all the nested values too and find out the json schema for it. Do check the source code. I have used the forked repo in this application - https://github.com/karuppiah7890/helm-schema-gen

If the fork code looks good, I can contribute back to this repo. I just have a feeling that the implementation is not great or perfect - but it works - at least I have tests for the cases it works for 😅

@karuppiah7890
Copy link
Author

cc @mcuadros

@karuppiah7890
Copy link
Author

This issue is based on the discussions in these commits

karuppiah7890@3854335

karuppiah7890@082ad33

@karuppiah7890
Copy link
Author

Bump^

@blarghmatey
Copy link

As someone who is trying to use this it would be great to have the option to generate the full nested schema.

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

2 participants