From 9d707dac529b922f491da45b73121e5e2ca96773 Mon Sep 17 00:00:00 2001 From: Sun Howwrongbum Date: Tue, 13 Dec 2016 14:25:20 +0530 Subject: [swagger] Add security definitions --- swagger.json | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'swagger.json') diff --git a/swagger.json b/swagger.json index 2c8830d87..ea3350a01 100644 --- a/swagger.json +++ b/swagger.json @@ -9,11 +9,16 @@ "schemes": [ "http" ], + "security": [ + { + "basicAuth": [] + } + ], "consumes": [ - "application/json" + "application/json" ], "produces": [ - "application/json" + "application/json" ], "paths": { "/commands": { @@ -1613,5 +1618,11 @@ "type": "string", "format": "date-time" } + }, + "securityDefinitions": { + "basicAuth": { + "type": "basic", + "description": "Basic HTTP authorization with _email_ and _password_" + } } } -- cgit v1.2.3