mirror of
https://gitlab.com/foxixus/neomovies-api.git
synced 2025-10-28 09:58:50 +05:00
small fix
This commit is contained in:
13
src/index.js
13
src/index.js
@@ -81,6 +81,19 @@ const swaggerOptions = {
|
|||||||
description: 'Название фильма'
|
description: 'Название фильма'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
Error: {
|
||||||
|
type: 'object',
|
||||||
|
properties: {
|
||||||
|
error: {
|
||||||
|
type: 'string',
|
||||||
|
description: 'Сообщение об ошибке'
|
||||||
|
},
|
||||||
|
details: {
|
||||||
|
type: 'string',
|
||||||
|
description: 'Детали ошибки'
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user