wolverdude / GenSON

GenSON is a powerful, user-friendly JSON Schema generator built in Python.
MIT License
571 stars 64 forks source link

Support directories as input for 'object' field #38

Open Qworel97 opened 5 years ago

Qworel97 commented 5 years ago

Had problem that I couldn`t use your tool to generate schema from 2500+ files. Command line looked like 'genson * > res.json'. That leads to '/bin/rm: cannot execute [Argument list too long]'. It would be nice if 'object' supported directory input. I already forked your project and supported it for 'object', will do that for 'schema' parameter'. That will make tool more user-friendly. Can create pull request with these changes.

wolverdude commented 4 years ago

Please do submit the PR. I'd love to see it.