lib/generate/index.js
function processInputs(config) {
    for (const profileKey in config) {
        const profile = config[profileKey];
        if (profile.skip) {
            continue;
        }

        verifyProfile(profile, profileKey);

        if (profile.file) {
            handleFileSwagger(profile, profileKey);
        } else {
            handleUrlSwagger(profile, profileKey);
        }
    }
}
function processInputs(config) {
    for (const profileKey in config) {
        const profile = config[profileKey];
        if (profile.skip) {
            continue;
        }

        verifyProfile(profile, profileKey);

        if (profile.file) {
            handleFileSwagger(profile, profileKey);
        } else {
            handleUrlSwagger(profile, profileKey);
        }
    }
}
function processInputs ( config ) { for ( const profileKey in config ) { const profile = config [ profileKey ] ; if ( profile . skip ) { continue ; } verifyProfile ( profile , profileKey ) ; if ( profile . file ) { handleFileSwagger ( profile , profileKey ) ; } else { handleUrlSwagger ( profile , profileKey ) ; } } }
Iterates through each profile in the config and handles the swagger.
@param {Object} config Configuration object
Iterates through each profile in the config and handles the swagger .