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

Path reference fix #102

Closed iZucken closed 3 years ago

iZucken commented 3 years ago

If referenced path object contained a common referenced parameters, reference resolution for path object would produce an E_NOTICE due to indirect dynamic property modification attempt. If silenced or ignored, the resulting object would still be able to return expected results, but references would not be actually resolved.

Path object in v3 has only one array property which can contain references (common parameters).

Updates to test vendor references had to be done to pass all green.

The same problem was already addressed recently #87. Would be great to have a patch release if this get to be merged!

cebe commented 3 years ago

Thank you!