lib/routesHandler/lib/swaggerDocs.js
function (bodySchemaModels, defName) {
        for (var i in bodySchemaModels) {
            if (bodySchemaModels[i]["name"] == defName) {
                return bodySchemaModels[i];
            }
        }
        return null;
    }
function (bodySchemaModels, defName) {
        for (var i in bodySchemaModels) {
            if (bodySchemaModels[i]["name"] == defName) {
                return bodySchemaModels[i];
            }
        }
        return null;
    }
function ( bodySchemaModels , defName ) { for ( var i in bodySchemaModels ) { if ( bodySchemaModels [ i ] [ "name" ] == defName ) { return bodySchemaModels [ i ] ; } } return null ; }
Create swagger compatible schema for body parameters
@param bodySchemaModels
@param obj
@param defName
@returns {{bodySchemaModels: *, attributes: {}}}
@private
Create swagger compatible schema for body parameters