Skip to content

Commit

Permalink
update version
Browse files Browse the repository at this point in the history
  • Loading branch information
fliptoo committed Apr 24, 2013
1 parent 69dc86d commit 37a06c1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions example/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -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')));
Expand Down
1 change: 0 additions & 1 deletion lib/swagger-express/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,6 @@ exports.init = function (app, opt) {

if (match[1]) {

console.log(resources);
resource = resources[match[1]];

if (!resource) {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>",
"main": "./index",
"dependencies": {
Expand Down

0 comments on commit 37a06c1

Please sign in to comment.