@@ -19,6 +19,7 @@ | |||||
<script src='swagger-ui.js' type='text/javascript'></script> | <script src='swagger-ui.js' type='text/javascript'></script> | ||||
<script src='lib/highlight.7.3.pack.js' type='text/javascript'></script> | <script src='lib/highlight.7.3.pack.js' type='text/javascript'></script> | ||||
<script src='lib/marked.js' type='text/javascript'></script> | <script src='lib/marked.js' type='text/javascript'></script> | ||||
<script src='lib/swagger-oauth.js' type='text/javascript'></script> | |||||
<script type="text/javascript"> | <script type="text/javascript"> | ||||
$(function () { | $(function () { | ||||
@@ -34,13 +35,11 @@ | |||||
supportedSubmitMethods: ['get', 'post', 'put', 'delete', 'patch'], | supportedSubmitMethods: ['get', 'post', 'put', 'delete', 'patch'], | ||||
onComplete: function(swaggerApi, swaggerUi){ | onComplete: function(swaggerApi, swaggerUi){ | ||||
if(typeof initOAuth == "function") { | if(typeof initOAuth == "function") { | ||||
/* | |||||
initOAuth({ | initOAuth({ | ||||
clientId: "your-client-id", | clientId: "your-client-id", | ||||
realm: "your-realms", | realm: "your-realms", | ||||
appName: "your-app-name" | appName: "your-app-name" | ||||
}); | }); | ||||
*/ | |||||
} | } | ||||
$('pre code').each(function(i, e) { | $('pre code').each(function(i, e) { | ||||
@@ -281,4 +281,4 @@ window.onOAuthComplete = function onOAuthComplete(token) { | |||||
} | } | ||||
} | } | ||||
} | } | ||||
} | |||||
} |
@@ -281,4 +281,4 @@ window.onOAuthComplete = function onOAuthComplete(token) { | |||||
} | } | ||||
} | } | ||||
} | } | ||||
} | |||||
} |
@@ -19,6 +19,7 @@ | |||||
<script src='swagger-ui.js' type='text/javascript'></script> | <script src='swagger-ui.js' type='text/javascript'></script> | ||||
<script src='lib/highlight.7.3.pack.js' type='text/javascript'></script> | <script src='lib/highlight.7.3.pack.js' type='text/javascript'></script> | ||||
<script src='lib/marked.js' type='text/javascript'></script> | <script src='lib/marked.js' type='text/javascript'></script> | ||||
<script src='lib/swagger-oauth.js' type='text/javascript'></script> | |||||
<script type="text/javascript"> | <script type="text/javascript"> | ||||
$(function () { | $(function () { | ||||
@@ -34,13 +35,11 @@ | |||||
supportedSubmitMethods: ['get', 'post', 'put', 'delete', 'patch'], | supportedSubmitMethods: ['get', 'post', 'put', 'delete', 'patch'], | ||||
onComplete: function(swaggerApi, swaggerUi){ | onComplete: function(swaggerApi, swaggerUi){ | ||||
if(typeof initOAuth == "function") { | if(typeof initOAuth == "function") { | ||||
/* | |||||
initOAuth({ | initOAuth({ | ||||
clientId: "your-client-id", | clientId: "your-client-id", | ||||
realm: "your-realms", | realm: "your-realms", | ||||
appName: "your-app-name" | appName: "your-app-name" | ||||
}); | }); | ||||
*/ | |||||
} | } | ||||
$('pre code').each(function(i, e) { | $('pre code').each(function(i, e) { | ||||