openapi: 3.0.0 info: title: 'OAI Specification in YAML' version: 0.0.1 paths: /test: get: responses: "200": $ref: '#/components/responses/GetTestOK' components: responses: GetTestOK: description: OK content: application/json: schema: $ref: '#/components/schemas/ObjectA' schemas: ObjectA: type: object properties: object_b: $ref: 'issue235.spec1.yml#/components/schemas/ObjectD'