{"action":"created","issue":{"url":"https://api.github.com/repos/stoicflame/enunciate/issues/304","repository_url":"https://api.github.com/repos/stoicflame/enunciate","labels_url":"https://api.github.com/repos/stoicflame/enunciate/issues/304/labels{/name}","comments_url":"https://api.github.com/repos/stoicflame/enunciate/issues/304/comments","events_url":"https://api.github.com/repos/stoicflame/enunciate/issues/304/events","html_url":"https://github.com/stoicflame/enunciate/issues/304","id":132183085,"number":304,"title":"Disable Swagger schema validation via Enunciate settings","user":{"login":"egemenvardar","id":17125072,"avatar_url":"https://avatars.githubusercontent.com/u/17125072?v=3","gravatar_id":"","url":"https://api.github.com/users/egemenvardar","html_url":"https://github.com/egemenvardar","followers_url":"https://api.github.com/users/egemenvardar/followers","following_url":"https://api.github.com/users/egemenvardar/following{/other_user}","gists_url":"https://api.github.com/users/egemenvardar/gists{/gist_id}","starred_url":"https://api.github.com/users/egemenvardar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/egemenvardar/subscriptions","organizations_url":"https://api.github.com/users/egemenvardar/orgs","repos_url":"https://api.github.com/users/egemenvardar/repos","events_url":"https://api.github.com/users/egemenvardar/events{/privacy}","received_events_url":"https://api.github.com/users/egemenvardar/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/stoicflame/enunciate/labels/enhancement","name":"enhancement","color":"207de5"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/stoicflame/enunciate/milestones/10","html_url":"https://github.com/stoicflame/enunciate/milestones/2.3.0","labels_url":"https://api.github.com/repos/stoicflame/enunciate/milestones/10/labels","id":1507423,"number":10,"title":"2.3.0","description":"","creator":{"login":"stoicflame","id":145838,"avatar_url":"https://avatars.githubusercontent.com/u/145838?v=3","gravatar_id":"","url":"https://api.github.com/users/stoicflame","html_url":"https://github.com/stoicflame","followers_url":"https://api.github.com/users/stoicflame/followers","following_url":"https://api.github.com/users/stoicflame/following{/other_user}","gists_url":"https://api.github.com/users/stoicflame/gists{/gist_id}","starred_url":"https://api.github.com/users/stoicflame/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stoicflame/subscriptions","organizations_url":"https://api.github.com/users/stoicflame/orgs","repos_url":"https://api.github.com/users/stoicflame/repos","events_url":"https://api.github.com/users/stoicflame/events{/privacy}","received_events_url":"https://api.github.com/users/stoicflame/received_events","type":"User","site_admin":false},"open_issues":25,"closed_issues":52,"state":"open","created_at":"2016-01-14T18:04:11Z","updated_at":"2016-03-11T22:06:18Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2016-02-08T16:06:21Z","updated_at":"2016-03-11T22:06:18Z","closed_at":"2016-03-11T22:06:18Z","body":"Is it possible to disable validation against Swagger schema by using the Enunciate settings (xml) file?\r\n\r\nI am getting validation errors from Swagger when I deploy my application, although everything else on Swagger UI works fine (including the \"Try it out\" option). The validation error messages include _\"instance failed to match exactly one schema (matched 0 out of 2)\"_ and _\"object instance has properties which are not allowed by the schema: [\\\"type\\\"]\"_. \r\n\r\nRemark: the solution described [here](https://github.com/swagger-api/swagger-ui/issues/630) works fine if I manually modify the index.html file. However, since this is overwritten after each build it is not a feasible solution for us. Therefore, having something like this in the enunciate.xml file would be perfect:\r\n\r\n```\r\n<modules>\r\n\t\t<swagger basePath=\"/rest\" validatorUrl=\"\" />\r\n</modules>\r\n```\r\n\r\nThanks in advance."},"comment":{"url":"https://api.github.com/repos/stoicflame/enunciate/issues/comments/195571633","html_url":"https://github.com/stoicflame/enunciate/issues/304#issuecomment-195571633","issue_url":"https://api.github.com/repos/stoicflame/enunciate/issues/304","id":195571633,"user":{"login":"stoicflame","id":145838,"avatar_url":"https://avatars.githubusercontent.com/u/145838?v=3","gravatar_id":"","url":"https://api.github.com/users/stoicflame","html_url":"https://github.com/stoicflame","followers_url":"https://api.github.com/users/stoicflame/followers","following_url":"https://api.github.com/users/stoicflame/following{/other_user}","gists_url":"https://api.github.com/users/stoicflame/gists{/gist_id}","starred_url":"https://api.github.com/users/stoicflame/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stoicflame/subscriptions","organizations_url":"https://api.github.com/users/stoicflame/orgs","repos_url":"https://api.github.com/users/stoicflame/repos","events_url":"https://api.github.com/users/stoicflame/events{/privacy}","received_events_url":"https://api.github.com/users/stoicflame/received_events","type":"User","site_admin":false},"created_at":"2016-03-11T22:06:18Z","updated_at":"2016-03-11T22:06:18Z","body":"Okay, I was wrong. There _is_ a way to do it.\r\n\r\nCurrently, Enunciate doesn't generate the swagger index page; it's a static copy, and I'm reluctant to get into the business of surfacing every Swagger UI configuration option through Enunciate configuration.\r\n\r\nIf you'd like to tweak the Swagger UI index page (and associated `SwaggerUI` javascript object), you can do so by configuring Enunciate to use a custom \"base\". For details, see [Swagger Module Documentation](https://github.com/stoicflame/enunciate/wiki/Module-Swagger#updating-or-configuring-swagger-ui)."}}