diff --git a/example/app.js b/example/app.js index 2d27d4a6..97c0e743 100644 --- a/example/app.js +++ b/example/app.js @@ -22,8 +22,8 @@ app.configure(function(){ app.use(swagger.init(app, { swaggerUI: './public/swagger/', basePath: 'http://localhost:3000', - //apis: ['./api.js'] - apis: ['./api.yml'] + apis: ['./api.js'] + //apis: ['./api.yml'] })); app.use(app.router); app.use(express.static(path.join(__dirname, 'public'))); diff --git a/lib/swagger-express/index.js b/lib/swagger-express/index.js index bfb1be23..759213ef 100644 --- a/lib/swagger-express/index.js +++ b/lib/swagger-express/index.js @@ -220,7 +220,6 @@ exports.init = function (app, opt) { if (match[1]) { - console.log(resources); resource = resources[match[1]]; if (!resource) { diff --git a/package.json b/package.json index 42db0093..7f6e92d8 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "swagger-express", "description": "Document your express rest api by jsDoc or yaml.", - "version": "1.0.0", + "version": "1.0.1", "author": "fliptoo ", "main": "./index", "dependencies": {