From b0ec15f2c136f850db3c3cd1ea0129daa77741c4 Mon Sep 17 00:00:00 2001 From: Alexander Sadovsky Date: Wed, 25 Jul 2018 23:10:07 +0200 Subject: [PATCH] added job required attrs to config --- config/swagger.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/config/swagger.js b/config/swagger.js index 8c7d973..ceb742d 100644 --- a/config/swagger.js +++ b/config/swagger.js @@ -6,5 +6,10 @@ module.exports.swagger = { host: 'localhost:1337', ui: { url: 'http://localhost:1337/docs' + }, + definitions: { + job: { + required: ['name'] + } } }; \ No newline at end of file