-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
JSON Schema from JSON-Data #1375
Comments
HI, |
I believe it can, although I'm not sure it should be part of the Json schema validator as it is a tester and this feature is a generator. But it shouldn't take that long to make one, it would have the same GUI and use the same library to accomplish this. |
Indeed. I would suggest to make it a separated tool, and either in the same extension, or in a new one. |
okay, I spent the last hour implementing it and added another tool on top of it to generate classes out of json schemas. |
Wow, this is really awesome and exactly what I've been looking for! Thank you so much! |
Wow wow wow that was quick! 😁👏 Thank you so much! |
What feature or new tool do you think should be added to DevToys?
We already have some JSON tools in the DevToys, all of which I consider to be really useful. What I personally am still missing is a converter that creates a JSON schema from JSON data. An example of how this works can be found here: like: https://www.liquid-technologies.com/online-json-to-schema-converter
Why do you think this is needed?
I use JSON schemas primarily for testing endpoints. This allows me to verify that all properties are still being returned as expected and that no one has changed the data types or other things.
Solution/Idea
Sample-Input:
Sample-Output:
Comments
No response
The text was updated successfully, but these errors were encountered: