Samuel Reed
e7efa82640
Use `dist` property from swagger-ui package.
...
This removes the hardcoded local `node_modules` lookup for swagger-ui,
which will break if the parent installs swagger-ui itself.
This is useful if, for example, the latest swagger-ui breaks
loopback-explorer, and the parent project wants to install a fixed
version in its root.
2014-08-12 09:47:53 -04:00
Raymond Feng
8a166083fe
Merge tag 'v1.2.8'
...
1.2.8
2014-08-08 11:22:28 -07:00
Raymond Feng
eaf3d692b1
Merge branch 'release/1.2.8' into production
2014-08-08 11:22:23 -07:00
Raymond Feng
b1fc7347ce
Bump version
2014-08-08 11:21:42 -07:00
Raymond Feng
f584c0998d
Merge pull request #33 from strongloop/feature/fix-issue-32
...
Fix the type name for a property if model class is used
2014-08-08 11:21:04 -07:00
Raymond Feng
bf3a2c9764
Fix the type name for a property if model class is used
...
See https://github.com/strongloop/loopback-explorer/issues/32
2014-08-04 23:22:41 -07:00
Raymond Feng
200da753b4
Merge tag 'v1.2.7'
...
1.2.7
2014-08-04 09:09:44 -07:00
Raymond Feng
3f9024a265
Merge branch 'release/1.2.7' into production
2014-08-04 09:09:37 -07:00
Raymond Feng
db0ca06a4d
Bump version
2014-08-04 09:08:49 -07:00
Raymond Feng
689a2f6a86
Merge pull request #29 from strongloop/feature/workaround-lb-issue-432
...
Set up default consumes/produces media types
2014-08-04 08:37:45 -07:00
Ritchie Martori
e30df1de93
Merge pull request #27 from strongloop/fix/array-items-any
...
Add required swagger 1.2 items property for property type array
2014-08-04 08:34:59 -07:00
Raymond Feng
0aa476a682
Set up default consumes/produces media types
...
See:
https://github.com/strongloop/loopback/issues/432
https://github.com/wordnik/swagger-js/issues/107
2014-08-03 21:48:16 -07:00
Raymond Feng
885ae9e71d
Merge branch 'STRML-protocol'
2014-07-31 16:48:31 -07:00
Raymond Feng
df459ffc8b
Fix the default opts
2014-07-31 16:47:47 -07:00
Raymond Feng
3c8f3b1dd0
Merge branch 'protocol' of github.com:STRML/loopback-explorer into STRML-protocol
2014-07-31 16:45:32 -07:00
Ritchie Martori
f7734fe5b3
Add required swagger 1.2 items property for property type array
2014-07-31 16:33:02 -07:00
Raymond Feng
8a1bd07f73
Merge tag 'v1.2.6'
...
1.2.6
2014-07-29 08:55:32 -07:00
Raymond Feng
d99f6edf29
Merge branch 'release/1.2.6' into production
2014-07-29 08:55:26 -07:00
Raymond Feng
4da82cbac8
Bump version
2014-07-29 08:54:48 -07:00
Raymond Feng
70db496d41
Merge pull request #25 from glesage/master
...
res.send deprecated - updated to res.status
2014-07-28 16:16:53 -07:00
Geoffroy
f6970db749
res.send deprecated - updated to res.status
...
Used to get warning: 'express deprecated res.send(status, body): Use
res.status(status).send(body) instead
node_modules/loopback-explorer/lib/swagger.js:105:9'
2014-07-28 17:40:08 -05:00
Samuel Reed
32f0f5e37d
Allow passing a custom protocol.
...
This allows swagger definitions to work properly when the API is behind
an SSL terminator.
2014-07-27 21:44:14 -05:00
Raymond Feng
d2356f5af0
Merge pull request #24 from STRML/hiddenProperties
...
Remove hidden properties from definition.
2014-07-26 11:14:40 -07:00
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
Raymond Feng
476b179f98
Merge tag 'v1.2.0'
...
1.2.0
2014-07-14 13:49:44 -07:00