r
Subject: Re: can validatorUrl be used to switch off swagger validation (Play -
Scala)?
Hi Ron,
We use this library for swagger: https://github.com/iheartradio/play-swagger
On Tuesday, August 1, 2017 at 5:05:24 PM UTC+1, Ron wrote:
Swagger-ui is not distributed in a jar – how did you add
*> on behalf of
> zhangmingshui >
> *Reply-To: *"swagger-sw...@googlegroups.com " <
> swagger-sw...@googlegroups.com >
> *Date: *Tuesday, August 1, 2017 at 01:27
> *To: *Swagger >
> *Subject: *Re: can validatorUrl be used to switch off swagger validation
>
Swagger-ui is not distributed in a jar – how did you add it to your project?
From: on behalf of zhangmingshui
Reply-To: "swagger-swaggersocket@googlegroups.com"
Date: Tuesday, August 1, 2017 at 01:27
To: Swagger
Subject: Re: can validatorUrl be used to switch off swagger
Hi Austin,
Thanks for getting back to me. Yes we are trying to turn it off.
We haven't created the index.html file - but there is one in the target
directory wed/publis/main/lib/swagger-ui so I am guessing that it is being
generated somehow or copied from the original swagger Jar.
So I don't th
Are you trying to turn it off in Swagger UI? If so then just modify the
index.html and in the script tags next to where you had to modify it to
point to your swagger file add the validatorUrl: "", text. It should look
something like below:
window.onload = function() {
// Build a system
Hi,
Is it possible to switch the swagger validation off using the swagger
configuration using the swagger.yml file?
>From googling it looks like this could be done using the setting
validatorUrl:null. We've tried numerous positioning of this config in our
swagger.yml but none of them seem to wo