7ee8703ff5
Rework the exported function to conform to the component convention: var loopback = require('loopback'); var explorer = require('loopback-explorer'); var app = loopback(); explorer(app, options); Allow users to mount explorer as a middleware too: app.use('/explorer', explorer.routes(app, options)); - drop dependency on express - drop support for loopback 1.x - add a new option "mountPath" to specify where to mount the explorer UI and swagger metadata - describe upgrading from v1.x in README |
||
---|---|---|
.. | ||
fixtures/dummy-swagger-ui | ||
.jshintrc | ||
class-helper.test.js | ||
explorer.test.js | ||
model-helper.test.js | ||
route-helper.test.js | ||
swagger.test.js |