cebe / php-openapi

Read and write OpenAPI yaml/json files and make the content accessible in PHP objects.
MIT License
466 stars 88 forks source link

Recursion bug #85

Closed Insolita closed 3 years ago

Insolita commented 3 years ago

lint failed with an error that not enough memory

Insolita commented 3 years ago

Minimal example for reproduce bug https://gist.github.com/Insolita/2cc4480668cff5dd4c48859328969297

cebe commented 3 years ago

Minimal example for reproduce bug https://gist.github.com/Insolita/2cc4480668cff5dd4c48859328969297

Putting that YAML into recursion.yaml works for me:

$ php -dmemory_limit=64M  bin/php-openapi validate recursion.yaml
The supplied API Description validates against the OpenAPI v3.0 schema.

need more information to reproduce the issue.