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