coveooss / json-schema-for-humans

Quickly generate HTML documentation from a JSON schema
Other
536 stars 101 forks source link

Bug: RecursionError: maximum recursion depth exceeded #246

Open nikpivkin opened 5 months ago

nikpivkin commented 5 months ago

Hi, I have updated to the latest version (1.0.2) and encountered a bug. Everything was ok before on version 0.47.

Steps to reproduce:

wget https://raw.githubusercontent.com/aquasecurity/trivy/main/pkg/iac/rego/schemas/cloud.json -q -O schema.json
generate-schema-doc ./schema.json
...
RecursionError: maximum recursion depth exceeded

Version: 1.0.2

zxpectre commented 2 months ago

Cannot spot exact issue yet but with latest version on big schema file it is now hanging for minutes and finally failing. Prior versions worked ok.