Shelby Sanders
240898e7a5
Added support for scanning accepts params for Model references
2014-09-17 19:02:39 -07:00
Raymond Feng
4757d89f10
Merge tag 'v1.2.10'
...
1.2.10
2014-09-05 15:45:36 -07:00
Raymond Feng
72d0f9e4d6
Merge branch 'release/1.2.10' into production
2014-09-05 15:45:26 -07:00
Raymond Feng
91caa92be7
Bump version
2014-09-05 15:44:50 -07:00
Raymond Feng
ea4dc17e58
Merge pull request #44 from strongloop/feature/add-other-models
...
Make sure nested/referenced models are mapped to swagger
2014-09-05 15:40:27 -07:00
Raymond Feng
bf3f438a58
Merge pull request #45 from clarkorz/feature/add-other-models
...
Make sure nested/referenced models in array are mapped to swagger
2014-08-29 08:22:07 -07:00
Clark Wang
acf00f3254
Make sure nested/referenced models in array are mapped to swagger
...
Signed-off-by: Clark Wang <clark.wangs@gmail.com>
2014-08-29 16:06:05 +08:00
Raymond Feng
d083feab36
Make sure nested/referenced models are mapped to swagger
2014-08-28 15:20:03 -07:00
Shelby Sanders
464e37c1c9
Changed addRoute() to honor X-Forwarded-Host
2014-08-25 20:06:31 -07:00
Raymond Feng
0efb4fd4b4
Merge tag 'v1.2.9'
...
1.2.9
2014-08-15 23:41:39 -07:00
Raymond Feng
03bbc8f1fb
Merge branch 'release/1.2.9' into production
2014-08-15 23:41:32 -07:00
Raymond Feng
937ec98c97
Bump version
2014-08-15 23:37:10 -07:00
Raymond Feng
0d182939a0
Merge pull request #38 from STRML/form-encoding
...
Newest Swagger UI requires application/x-www-form-urlencoded.
2014-08-15 23:36:34 -07:00
Raymond Feng
e0f81b5436
Merge pull request #37 from STRML/swagger-ui-dist
...
Use `dist` property from swagger-ui package.
2014-08-15 23:36:05 -07:00
Raymond Feng
4be0fb2742
Merge pull request #36 from nvdnkpr/master
...
Fixed undefined modelClass when using polymorphic relations
2014-08-15 23:13:01 -07:00
Samuel Reed
d98a7877d4
Newest Swagger UI requires application/x-www-form-urlencoded.
...
UI will fail to POST if this consumes type is not specified.
2014-08-12 12:45:38 -04:00
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
Navid Nikpour
bda9e5f627
Fixed undefined modelClass when using polymorphic relations
2014-08-10 08:46:24 +02: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
Shelby Sanders
d7909e8f56
Merge pull request #1 from shelbys/loopback-v2
...
Upgraded to v2 and ported changes from fork
2014-08-07 13:08:35 -07:00
Shelby Sanders
a4ab8023dc
Removed branch-lock for loopback
2014-08-07 13:07:36 -07:00
Shelby Sanders
76057a2ba9
Changed to possibly pull model description from ctor.settings
2014-08-06 23:52:59 -07:00
Shelby Sanders
820c51fa7a
Corrected generateModelDefinition() to scan for model references nested in other models
2014-08-06 00:31:34 -07:00
Shelby Sanders
5ef5baee06
Corrected prepareDataType() to handle collections and nesting, and changed to always and only use responseMessages
2014-08-06 00:21:48 -07:00
Shelby Sanders
1eddcade09
Corrected generateModelDefinition() to scan for model references in remote returns and errors
2014-08-06 00:20:15 -07:00
Shelby Sanders
cf3e6161ef
Corrected default for consumes+produces
2014-08-06 00:19:15 -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
Shelby Sanders
c6754baf83
Ported prepareDataType() from old strong-remoting:ext/swagger.js
2014-08-04 20:29:32 -07:00
Shelby Sanders
1a96d84035
Corrected issues with merge of 2.x changes
2014-08-04 20:09:07 -07:00
Shelby Sanders
9693150c8b
Corrected issues with merge of 2.x changes
2014-08-04 20:04:41 -07:00
Shelby Sanders
ae8858c66b
Corrected issues with merge of 2.x changes
2014-08-04 20:02:00 -07:00
Shelby Sanders
24d77f027d
Corrected issues with merge of 2.x changes
2014-08-04 19:56:58 -07:00
Shelby Sanders
696e387ff3
Corrected issues with merge of 2.x changes
2014-08-04 19:44:12 -07:00
Samuel Reed
86d79584f9
Load swagger ui from `swagger-ui` package instead.
...
Added option `swaggerDistRoot` for specific file overrides.
Conflicts:
README.md
example/simple.js
index.js
package.json
public/css/screen.css
public/images/logo_small.png
public/index.html
public/lib/loadSwaggerUI.js
2014-08-04 19:22:55 -07:00
Shelby Sanders
28d293b6f9
Merge remote-tracking branch 'upstream/master'
...
* upstream/master:
Bump version
Set up default consumes/produces media types
Fix the default opts
Add required swagger 1.2 items property for property type array
Allow passing a custom protocol.
Conflicts:
lib/swagger.js
2014-08-04 18:20:59 -07:00
Shelby Sanders
3dc7de6881
Ported extensions for more Swagger 1.2 metadata, returns+errors as responseMessages, consumes+produces, and X-Forwarded-Proto for reverse-proxying from HTTPS to HTTP
2014-08-04 18:19:09 -07:00
Shelby Sanders
2c737d40b6
Merge remote-tracking branch 'upstream/master'
...
* upstream/master: (38 commits)
Bump version
res.send deprecated - updated to res.status
Remove hidden properties from definition.
Bump version
Ensure models from relations are included
1.2.4
model-helper: handle arrays with undefined items
1.2.3
model-helper: handle array types with no item type
Bump version
Properly convert complex return types.
Bump version
Fix up loopback.rest() model definition hack.
Bump version and update deps
s/accessToken/access_token in authorization key name
Fix resources if the explorer is at a deep path.
Fix debug namespace, express version.
Remove forgotten TODO.
Simplify `accepts` and `returns` hacks.
More consise type tests
...
Conflicts:
public/css/loopbackStyles.css
public/css/screen.css
public/index.html
public/lib/loadSwaggerUI.js
public/lib/swagger.js
public/swagger-ui.js
public/swagger-ui.min.js
2014-08-04 18:11:36 -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