loopback-component-explorer/lib
Miroslav Bajtoš c6693f8725 Prevent double slash in the resource URLs
SwaggerUI builds resource URL by concatenating basePath + resourcePath.
Since the resource paths are always startign with a slash, if the
basePath ends with a slash too, an incorrect URL is produced.
This was typically happenning when `restApiRoot` was '/'.

This commit modifies the code producing the base path to remove
the trailing slash.
2015-01-09 14:45:46 +01:00
..
class-helper.js Move `convertText` to `typeConverter` 2014-10-16 08:46:37 +02:00
model-helper.js Use full lodash instead of lodash components 2014-12-02 19:14:58 -08:00
route-helper.js Move 200 response to `type` on the operation object. See #75. 2014-12-12 13:48:58 +01:00
swagger.js Prevent double slash in the resource URLs 2015-01-09 14:45:46 +01:00
translate-data-type-keys.js Use full lodash instead of lodash components 2014-12-02 19:14:58 -08:00
type-converter.js Move `convertText` to `typeConverter` 2014-10-16 08:46:37 +02:00
url-join.js Add url-join so path.join() doesn't break windows 2014-07-10 14:09:57 -05:00