Closed nickavv closed 3 years ago
Thanks for the suggestion, @nickavv. It seems reasonable to me to allow the location of Zepto to be configured via an attribute, defaulting to the current CDN location when the attribute is not specified.
I don't think we actually need to be using Zepto at all so, rather than making its location configurable, I've opened #63 to remove its usage entirely.
We are using Spring RESTDoc in a strict security environment, and our content policy disallows pulling resources from CDNs. There's currently no way to point to a local copy of the Zepto library which is used to enable the block switch toggles. The CDN location is hard-coded in a script tag in
BlockSwitchDocinfo.java
It would be ideal if this were configurable in any way at all.