diff --git a/lib/spec-converter.js b/lib/spec-converter.js index 1933cb6ef..a4a72ff37 100644 --- a/lib/spec-converter.js +++ b/lib/spec-converter.js @@ -549,6 +549,10 @@ SwaggerSpecConverter.prototype.securityDefinitions = function(obj, swagger) { securityDefinition.name = definition.keyname || name; isValid = true; } + else if(definition.type === 'basicAuth') { + securityDefinition.type = 'basicAuth'; + isValid = true; + } else if(definition.type === 'oauth2') { var existingScopes = definition.scopes || []; var scopes = {};