Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed a typo in the variable name while resolving nullable types. #200

Merged
merged 1 commit into from
Jan 30, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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) {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@fearthecowboy - thanks for pointing this. Will merge and publish as soon as the CI passes.

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": "azsdkteam@microsoft.com",
Expand Down