Skip to content

Commit

Permalink
fix: s2o ensure there is a server.param.default value
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeRalphson committed Oct 14, 2020
1 parent 7888e01 commit bfbd29e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/swagger2openapi/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -1489,7 +1489,7 @@ function convertObj(swagger, options, callback) {
param.default = param.enum[0];
}
else {
param.default = '';
param.default = 'none';
}
}
if (!param.name) {
Expand Down

0 comments on commit bfbd29e

Please sign in to comment.