   }

    // init swagger ui
    function initSwaggerUI(configObject, oauthConfigObject) {
        configObject.onComplete = function () {
            var accessToken = window.localStorage.getItem(tokenKey);
            if (accessToken) {
                ui.preauthorizeApiKey("Bearer", accessToken);
            }
        };

        // Workaround for https://github.com/swagger-api/swagger-ui/issues/5945
        configObject.urls.forEach(function (item) {
            if (item.url.startsWith("http") || item.u