--- 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: 'pathref.openapi.yml#/components/schemas/TestSchema'