Sorter: 'alpha',
        showMutatedRequest: true,
        requestInterceptor: req => {
          if (urlIndex !== -1 && urlIndex !== 0) {
            if (req.url.indexOf(window.location.origin) === 0 && !req.url.includes(basePath)) {
              const reqUrl = req.url.substr(window.location.origin.length);
              req.url = window.location.origin + basePath + reqUrl
            }
          }
          return req;
        },
        presets: [
          SwaggerUIBundle.presets.apis,
          Swagge