From 2dfdb33a6bc4882bdd1b697f7d1baecd267a531c Mon Sep 17 00:00:00 2001 From: Alexander Sadovsky Date: Wed, 25 Jul 2018 23:15:32 +0200 Subject: [PATCH] added schema $ref for POST /job --- config/routes.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/config/routes.js b/config/routes.js index 272b62a..a446830 100644 --- a/config/routes.js +++ b/config/routes.js @@ -62,7 +62,10 @@ module.exports.routes = { action: 'create', swagger: { summary: 'Create a Job', - description: 'Create a Job' + description: 'Create a Job', + schema: { + $ref: "#/definitions/job" + } } },