Update README.md

This commit is contained in:
Andre Keedy 2015-11-23 10:02:55 -05:00
parent a4fdbe9193
commit 37210b5d4f

View File

@ -1,17 +1 @@
# Shovel-horizon
In swagger-tools\middleware\swagger-ui
Set Validator to null
window.swaggerUi = new SwaggerUi({
url: url,
validatorUrl: null,
dom_id: "swagger-ui-container",
supportedSubmitMethods: ['get', 'post', 'put', 'delete', 'patch'],
onComplete: function(swaggerApi, swaggerUi){
if(typeof initOAuth == "function") {
/*
initOAuth({
clientId: "your-client-id",
realm: "your-realms",
appName: "your-app-name"
});