Skip to content

Commit

Permalink
Updating version number and fixing spelling error
Browse files Browse the repository at this point in the history
  • Loading branch information
chdanielmueller committed Aug 30, 2015
1 parent 3521b83 commit 511778e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,12 +100,12 @@ function addDataToSwaggerObject(swaggerObject, swaggerJsDocComments) {
var propertyName = propertyNames[j];
switch (propertyName) {
case 'definition': {
var definiationNames = Object
var definitionNames = Object
.getOwnPropertyNames(pathObject[propertyName]);
for (var k = 0; k < definiationNames.length; k = k + 1) {
var definiationName = definiationNames[k];
swaggerObject.definitions[definiationName] =
pathObject[propertyName][definiationName];
for (var k = 0; k < definitionNames.length; k = k + 1) {
var definitionName = definitionNames[k];
swaggerObject.definitions[definitionName] =
pathObject[propertyName][definitionName];
}
break;
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "swagger-jsdoc",
"version": "1.0.1",
"version": "1.1.0",
"description": "Generates swagger doc based on JSDoc",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 511778e

Please sign in to comment.