diff --git a/apis/journey/loan.json b/apis/journey/loan.json index 520ca66..c4afe1d 100644 --- a/apis/journey/loan.json +++ b/apis/journey/loan.json @@ -332,16 +332,18 @@ "hasAdditionalDocuments", "documents" ], - "totalDocumentCount": { - "type": "integer" - }, - "hasAdditionalDocuments": { - "type": "boolean" - }, - "documents": { - "type": "array", - "items": { - "$ref": "./Document.yaml" + "properties": { + "totalDocumentCount": { + "type": "integer" + }, + "hasAdditionalDocuments": { + "type": "boolean" + }, + "documents": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Document" + } } } }