Skip to content

Commit 2e34341

Browse files
committed
fix for #91
1 parent 0b13aae commit 2e34341

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/swagger.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -904,6 +904,7 @@ SwaggerOperation.prototype.pathXml = function() {
904904

905905
SwaggerOperation.prototype.encodePathParam = function(pathParam) {
906906
var encParts, part, parts, _i, _len;
907+
pathParam = pathParam.toString();
907908
if (pathParam.indexOf("/") === -1) {
908909
return encodeURIComponent(pathParam);
909910
} else {

0 commit comments

Comments
 (0)