Closed igor-savin-ht closed 6 years ago
middleware.js:
let parsedPath = dereferenced.basePath !== '/' ? dereferenced.basePath.concat(currentPath.replace(/{/g, ':').replace(/}/g, '')) : currentPath.replace(/{/g, ':').replace(/}/g, '');
This will fail if no basePath is specified in Swagger.
Thanks @igor-savin-ht , fixed in v.0.3.3
middleware.js:
let parsedPath = dereferenced.basePath !== '/' ? dereferenced.basePath.concat(currentPath.replace(/{/g, ':').replace(/}/g, '')) : currentPath.replace(/{/g, ':').replace(/}/g, '');
This will fail if no basePath is specified in Swagger.