Reverted to use special loading logic from loopback-explorer
This commit is contained in:
parent
ed044468f7
commit
0e223845e5
|
@ -11,7 +11,7 @@ $(function() {
|
||||||
var accessToken;
|
var accessToken;
|
||||||
function loadSwaggerUi(config) {
|
function loadSwaggerUi(config) {
|
||||||
window.swaggerUi = new SwaggerUi({
|
window.swaggerUi = new SwaggerUi({
|
||||||
url: config.url || '/swagger/resources',
|
url: config.discoveryUrl || '/swagger/resources',
|
||||||
apiKey: '',
|
apiKey: '',
|
||||||
dom_id: 'swagger-ui-container',
|
dom_id: 'swagger-ui-container',
|
||||||
supportHeaderParams: true,
|
supportHeaderParams: true,
|
||||||
|
|
Loading…
Reference in New Issue