From 3ac87243292d224cb3485254025de78ee7547808 Mon Sep 17 00:00:00 2001 From: Nicolas Date: Thu, 25 Apr 2024 13:28:07 -0700 Subject: [PATCH] Update openapi.json --- apps/api/openapi.json | 57 +++++++++++++++++++++++-------------------- 1 file changed, 30 insertions(+), 27 deletions(-) diff --git a/apps/api/openapi.json b/apps/api/openapi.json index dd325fa..7861f32 100644 --- a/apps/api/openapi.json +++ b/apps/api/openapi.json @@ -373,33 +373,36 @@ "type": "boolean" }, "data": { - "type": "object", - "properties": { - "url": { - "type": "string" - }, - "markdown": { - "type": "string" - }, - "content": { - "type": "string" - }, - "metadata": { - "type": "object", - "properties": { - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "language": { - "type": "string", - "nullable": true - }, - "sourceURL": { - "type": "string", - "format": "uri" + "type": "array", + "items": { + "type": "object", + "properties": { + "url": { + "type": "string" + }, + "markdown": { + "type": "string" + }, + "content": { + "type": "string" + }, + "metadata": { + "type": "object", + "properties": { + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "language": { + "type": "string", + "nullable": true + }, + "sourceURL": { + "type": "string", + "format": "uri" + } } } }