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

This commit is contained in:
Amar Zavery 2018-01-30 13:47:18 -08:00
Родитель aafa1f6d03
Коммит f152b66349
4 изменённых файлов: 8 добавлений и 5 удалений

Просмотреть файл

@ -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

Просмотреть файл

@ -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]);
}
}

6
package-lock.json сгенерированный
Просмотреть файл

@ -1,6 +1,6 @@
{
"name": "oav",
"version": "0.4.24",
"version": "0.4.25",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
@ -2329,7 +2329,7 @@
}
},
"sway": {
"version": "github:amarzavery/sway#68bb956fcbffe84f9a0e1c61f00c020975ceaa77",
"version": "github:amarzavery/sway#a76decb5fcafeb49d2fcdbb40f89bc1ade772102",
"requires": {
"debug": "3.1.0",
"faker": "4.1.0",
@ -2391,7 +2391,7 @@
"tunnel": {
"version": "0.0.5",
"resolved": "https://registry.npmjs.org/tunnel/-/tunnel-0.0.5.tgz",
"integrity": "sha1-0VMiVHSe02Yg/NEBCGVJWh+p0K4="
"integrity": "sha512-gj5sdqherx4VZKMcBA4vewER7zdK25Td+z1npBqpbDys4eJrLx+SlYjJvq1bDXs2irkuJM5pf8ktaEQVipkrbA=="
},
"tunnel-agent": {
"version": "0.6.0",

Просмотреть файл

@ -1,6 +1,6 @@
{
"name": "oav",
"version": "0.4.24",
"version": "0.4.25",
"author": {
"name": "Microsoft Corporation",
"email": "azsdkteam@microsoft.com",