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

Support $ref in PathItem #17

Closed cebe closed 5 years ago

cebe commented 5 years ago

https://github.com/OAI/OpenAPI-Specification/blob/3.0.2/versions/3.0.2.md#pathItemObject

| $ref | string | Allows for an external definition of this path item. The referenced structure MUST be in the format of a Path Item Object. If there are conflicts between the referenced definition and this Path Item's definition, the behavior is undefined.

This property is currently not recognized.

cebe commented 5 years ago

Add a test based on the example files in https://github.com/OAI/OpenAPI-Specification/issues/1961#issuecomment-506026142

this currently fails resolving.

cebe commented 5 years ago

Mystery of unclear semantics is explained here: https://github.com/OAI/OpenAPI-Specification/issues/1038