{ "openapi": "3.0.0", "info": { "title": "Deep Nested API with Backwards References", "version": "1.0.0", "description": "API in deep nested directory with backwards $ref paths" }, "paths": { "/users": { "get": { "summary": "Get users", "responses": { "200": { "$ref": "../../../shared/responses/users-response.json" } } } }, "/products": { "get": { "summary": "Get products", "responses": { "200": { "$ref": "../../../shared/responses/products-response.json" } } } } }, "components": { "schemas": { "User": { "$ref": "../../../shared/schemas/user-schema.json" }, "Product": { "$ref": "../../../shared/schemas/product-schema.json" } } } }