Closed greg-rychlewski closed 4 years ago
Thanks @greg-rychlewski.
Rather than supplying the validatorUrl
as a single plug option, what if we were to support the configUrl
, which allows swagger-ui to fetch a JSON file?
You could add the file in priv/static/swagger_ui_config.json
, then configure most of swagger-ui that way.
Alternatively users could create a Controller action to serve the swagger-ui config dynamically if necessary.
Thanks @mbuhot that's a really good idea.
I updated my pull request based on your suggestion.
Would like to be able to specify a custom swagger ui validation url/disable validation altogether.
Created a pull request for your review.