Shelby Sanders
0e223845e5
Reverted to use special loading logic from loopback-explorer
2014-07-14 22:07:14 -07:00
Shelby Sanders
ed044468f7
Reverted to use special loading logic from loopback-explorer
2014-07-14 21:57:39 -07:00
Shelby Sanders
0f4bf489d9
Updated to latest Swagger-UI for better responseMessage signature handling
2014-07-14 21:48:46 -07:00
Raymond Feng
476b179f98
Merge tag 'v1.2.0'
...
1.2.0
2014-07-14 13:49:44 -07:00
Raymond Feng
ada01654e4
Merge branch 'release/1.2.0' into production
2014-07-14 13:49:38 -07:00
Raymond Feng
aa36e1cc81
Bump version and update deps
2014-07-14 13:48:40 -07:00
Raymond Feng
cd873e9ce1
Merge pull request #14 from STRML/feature/swagger1.2
...
Update to Swagger 1.2. Fixes #11 , #8 , #7 .
2014-07-14 13:44:25 -07:00
Samuel Reed
fcd1926758
s/accessToken/access_token in authorization key name
2014-07-14 15:40:05 -05:00
Shelby Sanders
59afbb1f32
Upgraded to latest Swagger-UI for 1.2 support
2014-07-12 23:09:00 -07:00
Shelby Sanders
5a07b80b6b
Upgraded to latest Swagger-UI for 1.2 support
2014-07-12 23:04:13 -07:00
Samuel Reed
cefbdb361e
Fix resources if the explorer is at a deep path.
2014-07-11 14:56:32 -04:00
Samuel Reed
5c130a4b3d
Fix debug namespace, express version.
2014-07-11 14:22:18 -04:00
Samuel Reed
a857fe540f
Remove forgotten TODO.
2014-07-11 10:04:14 -04:00
Samuel Reed
4b3785c0b2
Simplify `accepts` and `returns` hacks.
2014-07-11 10:03:58 -04:00
Samuel Reed
75ba0580bc
More consise type tests
2014-07-11 09:55:57 -04:00
Samuel Reed
6224243791
Remove preMiddleware.
...
Not necessary since this can easily be done with an app.use() before
calling loopback-explorer.
2014-07-10 14:16:10 -05:00
Samuel Reed
34b3983b9d
Remove swagger.test.js license
2014-07-10 14:09:57 -05:00
Samuel Reed
cbf768f0b8
Remove peerDependencies, use express directly.
2014-07-10 14:09:57 -05:00
Samuel Reed
75713f16f2
Add url-join so path.join() doesn't break windows
2014-07-10 14:09:57 -05:00
Samuel Reed
781ac2bd12
Rename translateKeys to translateDataTypeKeys.
2014-07-10 14:09:57 -05:00
Samuel Reed
3ce35e1431
Refactor route-helper & add tests.
...
- Uses model-helper to parse types for swagger.
- Separated returns & accepts hacks.
- Documentation fixes
- TODO add param regex
2014-07-10 14:09:57 -05:00
Samuel Reed
77f01670de
LDL to Swagger fixes & extensions.
...
- Supports all three LDL array type specifications.
- Added model-helper tests.
- translate-keys no longer modifies the incoming object.
- Non-primitive types are now correctly converted into a primitive
with a `format` attribute.
- `id` properties are not assumed to be required if they are generated.
2014-07-10 12:07:19 -05:00
Shelby Sanders
a9c1152c74
Correct description of collections of object and nested
2014-07-10 05:07:43 -07:00
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
a6afe13b08
Restore existing styles.
...
TODO extract overrides instead of replacing styles wholesale.
2014-07-09 12:03:34 -05:00
Samuel Reed
5f22982200
Allow easy setting of accessToken in explorer UI.
2014-07-09 11:45:44 -05:00
Shelby Sanders
88c330a503
Add indication of response being a collection
2014-07-09 03:36:41 -07:00
Samuel Reed
a4a36f5602
Refactor key translations between LDL & Swagger.
...
Route.accepts & route.returns can now share these translations.
2014-07-06 09:50:24 -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
Raymond Feng
d34304afc3
Make sure body parameter is shown.
2014-07-05 10:21:06 -07:00
Samuel Reed
67bb10b6a4
Some swagger 1.2 migration cleanup.
...
- Added array items definition.
- Ignored body when specified via arg.http.source.
2014-07-05 10:54:19 -05:00
Raymond Feng
2f8506c81b
Fix api resource path and type ref to models.
2014-07-05 00:30:26 -07: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š
2284820b66
Merge tag 'v1.1.1'
...
1.1.1
2014-05-28 19:27:19 +02:00
Miroslav Bajtoš
a7c229ef84
Merge branch 'release/1.1.1' into production
2014-05-28 19:27:14 +02:00
Miroslav Bajtoš
5bf0223d71
1.1.1
2014-05-28 19:26:51 +02:00
Miroslav Bajtoš
d5b433c148
Merge pull request #13 from strongloop/feature/support-loopback-2.x
...
package.json: add support for loopback 2.x
2014-05-28 19:21:17 +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
ea267a7573
Merge pull request #12 from pennycoders/master
...
Make sure X-Powered-By header is disabled
2014-04-20 22:41:30 -07:00
Alex Pica
ee79c4bf5d
Make sure X-Powered-By header is disabled
2014-04-21 05:29:01 +03: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š
28b08f481a
Merge tag 'v1.1.0'
...
v1.1.0
2014-01-14 09:42:59 +01:00
Miroslav Bajtoš
e46080254c
Merge branch 'release/1.1.0' into production
2014-01-14 09:42:50 +01: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
24d8215eef
Merge tag 'v1.0.2'
...
1.0.2
2014-01-13 13:43:50 -08:00