From ea3c208292696878811e2ec8bdf8a9b4030ad51c Mon Sep 17 00:00:00 2001 From: Foxix Date: Tue, 8 Jul 2025 15:39:58 +0300 Subject: [PATCH] small fix --- src/index.js | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/index.js b/src/index.js index aa531ba..4ab80c0 100644 --- a/src/index.js +++ b/src/index.js @@ -81,6 +81,19 @@ const swaggerOptions = { description: 'Название фильма' } } + }, + Error: { + type: 'object', + properties: { + error: { + type: 'string', + description: 'Сообщение об ошибке' + }, + details: { + type: 'string', + description: 'Детали ошибки' + } + } } } }