diff --git a/packages/swagger2openapi/index.js b/packages/swagger2openapi/index.js
index <HASH>..<HASH> 100644
--- a/packages/swagger2openapi/index.js
+++ b/packages/swagger2openapi/index.js
@@ -738,7 +738,7 @@ function processPaths(container, containerName, options, requestBodyCache, opena
                         entry.refs = [];
                         requestBodyCache[rbSha256] = entry;
                     }
-                    let ptr = '#/'+containerName+'/'+jptr.jpescape(p)+'/'+method+'/requestBody';
+                    let ptr = '#/'+containerName+'/'+encodeURIComponent(jptr.jpescape(p))+'/'+method+'/requestBody';
                     requestBodyCache[rbSha256].refs.push(ptr);
                 }
Both escape and URI encode when creating JSON pointers