Skip to content

Commit

Permalink
Merge pull request #200 from amarzavery/variableTypo
Browse files Browse the repository at this point in the history
Fixed a typo in the variable name while resolving nullable types.
  • Loading branch information
amarzavery authored Jan 30, 2018
2 parents aafa1f6 + f152b66 commit 4459e37
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
3 changes: 3 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
### 01/30/2018 0.4.25
- Fixed a typo in the variable name while resolving nullable types.

### 01/17/2018 0.4.24
- The tool does not error on missing definitions in the swagger spec #194
- Added support for application/octet-stream or file upload/download scenarios #192
Expand Down
2 changes: 1 addition & 1 deletion lib/validators/specResolver.js
Original file line number Diff line number Diff line change
Expand Up @@ -646,7 +646,7 @@ class SpecResolver {
let pathObj = spec.paths[path];
//need to handle paramaters at this level
if (pathObj.parameters) {
for (let parameter in pathOpj.parameters) {
for (let parameter in pathObj.parameters) {
pathObj.parameters[parameter] = utils.allowNullableParams(pathObj.parameters[parameter]);
}
}
Expand Down
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "oav",
"version": "0.4.24",
"version": "0.4.25",
"author": {
"name": "Microsoft Corporation",
"email": "[email protected]",
Expand Down

0 comments on commit 4459e37

Please sign in to comment.