v0.0.3
Sync API
/*
* Converts Swagger 1.2 specs file to Swagger 2.0 specs.
* @param resourceListing {object} - root Swagger 1.2 document where it has a
* list of all paths
* @param apiDeclarations {array} - a list of all resources listed in
* resourceListing. Array of objects
* @returns {object} - Fully converted Swagger 2.0 document
*/
module.exports = function convert(resourceListing, apiDeclarations) {