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

Implement automatic resolving of references in referenced files #14

Closed cebe closed 5 years ago

cebe commented 5 years ago

Currently references in referenced files are only resolved if the base type is known.

cebe commented 5 years ago

https://github.com/cebe/php-openapi/blob/4a4892dbee51d9578b72d6c42645b5e89473d252/src/spec/Reference.php#L113-L118

cebe commented 5 years ago

fixed by https://github.com/cebe/php-openapi/commit/6288f41cb6e14e3e379805b86ad464ae40702ba1