I keep getting this error in console:

Uncaught TypeError: Cannot read property 'configureAuth' of undefined
    at e.exports (swagger-ui-bundle.js:6117)
    at HTMLDocument.<anonymous> ((index):381)
    at j (jquery.js:3570)
    at k (jquery.js:3638)

The js code:

$(function() {
    window.swaggerUi = SwaggerUIBundle({
        url: "/rest/api-docs",
        dom_id: "#swagger-ui"
    });

    window.swaggerUi.load();
});


What am I missing? I tried to add the presets configuration but nothing 
changes.

Thank you in advance,
Francesco

-- 
You received this message because you are subscribed to the Google Groups 
"Swagger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to