openapi-validation-middleware icon indicating copy to clipboard operation
openapi-validation-middleware copied to clipboard

Add support for OpenAPI file split into multiple files

Open xserrat opened this issue 1 year ago • 0 comments

Hi, I'm wondering if is there any possibility to introduce support for reading multiple files of a split OpenAPI file as the specification supports:

https://swagger.io/docs/specification/using-ref/#allowed-places

Now the validator throws an error:

"Invalid ref: paths\/endpoint.yaml"

The expected behaviour would be to read all files based on the $ref field where the file path is specified.

Thank you in advance!

xserrat avatar Jan 15 '24 14:01 xserrat