Commit Graph

117 Commits

Author SHA1 Message Date
Samuel Reed 70dddef296 Use express routes instead of modifying remoting.
This completes the migration of swagger processing from strong-remoting
into loopback-explorer.

Added additional usage instructions to README and additional testing.

This commit introduces a change into where resource descriptors
are hosted. They are no longer hosted under /swagger, but instead
under the same path as the Explorer, wherever that may be.
Generally, the resource listing will be available at
/explorer/resources, and api listings under
/explorer/resources/{modelName}.
2014-07-09 18:13:47 -05:00
Samuel Reed 19c3fe3870 Fix missing strong-remoting devDependency. 2014-07-09 12:03:50 -05:00
Samuel Reed 4c0ce42001 Refactoring swagger 1.2 rework.
Added comments, api version, and better Swagger 1.2 compat.
2014-07-05 14:32:00 -05:00
Samuel Reed eb31787fbc Swagger 1.2 compatability. Moved strong-remoting/ext/swagger to this module.
Will now correctly return model schemas.

Moved swagger.js tests to this module.
2014-07-04 17:09:03 -05:00
Samuel Reed 56003f0178 Load swagger ui from `swagger-ui` package instead.
Added option `swaggerDistRoot` for specific file overrides.
2014-07-04 14:28:47 -05:00
Miroslav Bajtoš 5bf0223d71 1.1.1 2014-05-28 19:26:51 +02:00
Miroslav Bajtoš e2a19a9578 package.json: add support for loopback 2.x
Modify the peer dependency version spec to include 2.x versions.
2014-05-28 19:06:08 +02:00
Raymond Feng bc1bde89c5 Fix license url 2014-02-17 16:09:05 -08:00
Raymond Feng d93c9557af Update to dual MIT/StrongLoop license 2014-02-17 16:04:12 -08:00
Miroslav Bajtoš d47a060b9d v1.1.0 2014-01-14 09:42:06 +01:00
Miroslav Bajtoš 6615013ef4 Merge pull request #10 from strongloop/feature/use-restApiRoot
Use app.restApiRoot
2014-01-14 00:20:46 -08:00
Miroslav Bajtoš 2d15b9c052 Bump up loopback min version to 1.5 2014-01-14 08:34:34 +01:00
Raymond Feng b4f91a57a2 Bump version 2014-01-13 13:42:14 -08:00
Ritchie Martori dbaf686db4 Bump version 2013-12-04 07:20:05 -08:00
Miroslav Bajtos a33c067ffa Support custom basePath
Recognize the `basePath` passed to swagger extension and use it in
the webpage to construct the correct `discoveryUrl`.
2013-11-29 16:26:16 +01:00
Ritchie Martori 8cf1d2e486 Move supertest to dev deps 2013-11-05 11:28:29 -08:00
Ritchie Martori f3d6cb9b54 Initial explorer 2013-11-05 11:16:59 -08:00