LoopBack REST adapter owns the whole URL space and does not let other middleware handle same URLs. It's possible to circumvent this measure by installing the explorer middleware before the REST middleware.
Recognize the `basePath` passed to swagger extension and use it in the webpage to construct the correct `discoveryUrl`.