{ "components": { "messages": { "testMessage": { "payload": { "$ref": "#/components/schemas/testSchema" } } }, "schemas": { "testSchema": { "type": "object", "properties": { "name": { "type": "string" }, "test": { "$ref": "non-existing.json" } } } } } }