Commit Graph

298 Commits

Author SHA1 Message Date
Samuel Reed a9ecfecde5 Remove hidden properties from definition. 2014-07-26 12:15:47 -05:00
Raymond Feng 8c07540755 Merge tag 'v1.2.5'
1.2.5
2014-07-25 11:24:33 -07:00
Raymond Feng 73c68f44c4 Merge branch 'release/1.2.5' into production 2014-07-25 11:24:05 -07:00
Raymond Feng 8c6fc47276 Bump version 2014-07-25 09:10:54 -07:00
Raymond Feng 7c3f7744b3 Merge pull request #20 from strongloop/feature/add-related-models
Add models from relations
2014-07-25 08:28:11 -07:00
Raymond Feng 078649f990 Ensure models from relations are included 2014-07-24 13:35:02 -07:00
Miroslav Bajtoš 028e0fb579 Merge tag 'v1.2.4'
1.2.4
2014-07-22 21:58:25 +02:00
Miroslav Bajtoš 3d1b26aad4 Merge branch 'release/1.2.4' into production 2014-07-22 21:58:12 +02:00
Miroslav Bajtoš bb683e20a9 1.2.4 2014-07-22 21:57:53 +02:00
Miroslav Bajtoš 75151ae392 Merge pull request #18 from strongloop/feature/fixup
model-helper: handle arrays with undefined items
2014-07-22 21:56:56 +02:00
Miroslav Bajtoš 536fa4c577 model-helper: handle arrays with undefined items 2014-07-22 21:52:25 +02:00
Miroslav Bajtoš 511d955e2e Merge tag 'v1.2.3'
1.2.3
2014-07-22 21:46:50 +02:00
Miroslav Bajtoš 11f89e14e9 Merge branch 'release/1.2.3' into production 2014-07-22 21:46:20 +02:00
Miroslav Bajtoš 6eb2dabf0c 1.2.3 2014-07-22 21:46:00 +02:00
Miroslav Bajtoš 42c09ce470 Merge pull request #17 from strongloop/feature/fix-explorer-in-workspace
model-helper: handle array types with no item type
2014-07-22 21:41:18 +02:00
Miroslav Bajtoš a92450eaf0 model-helper: handle array types with no item type 2014-07-22 21:34:42 +02:00
Raymond Feng 1f42524077 Merge tag 'v1.2.2'
1.2.2
2014-07-20 21:51:21 -07:00
Raymond Feng 712e25e538 Merge branch 'release/1.2.2' into production 2014-07-20 21:51:14 -07:00
Raymond Feng cf5796db93 Bump version 2014-07-20 21:50:32 -07:00
Raymond Feng b32160c311 Merge pull request #16 from STRML/master
Properly convert complex return types.
2014-07-20 21:49:51 -07:00
Samuel Reed 84e9486062 Properly convert complex return types.
Attached tests.
2014-07-20 20:04:10 -05:00
Raymond Feng 362c7ebb36 Merge tag 'v1.2.1'
1.2.1
2014-07-18 21:48:58 -07:00
Raymond Feng 71a2a0473b Merge branch 'release/1.2.1' into production 2014-07-18 21:48:52 -07:00
Raymond Feng c84e38ac1c Bump version 2014-07-18 15:52:35 -07:00
Raymond Feng b6ef248b76 Merge pull request #15 from STRML/master
Fix up loopback.rest() model definition hack.
2014-07-18 15:45:53 -07:00
Samuel Reed 6319572a55 Fix up loopback.rest() model definition hack.
In its previous form, array return types were being returned simply
as {type: 'array'}, with their `items` definition forgotten.
2014-07-18 17:31:43 -05:00
Shelby Sanders 15aa4e9ae5 Ensure Response Content Type is shown regardless of Response Class 2014-07-16 14:30:32 -07:00
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