Ying Tang
27e5895aa5
add $ref and remove type for models
2015-03-26 22:23:24 -07:00
Raymond Feng
282b70e1e4
Fix how the array of models is iterated
...
https://github.com/strongloop/loopback-explorer/issues/49
2014-09-19 09:35:11 -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
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
Ritchie Martori
f7734fe5b3
Add required swagger 1.2 items property for property type array
2014-07-31 16:33:02 -07:00
Samuel Reed
a9ecfecde5
Remove hidden properties from definition.
2014-07-26 12:15:47 -05:00
Raymond Feng
078649f990
Ensure models from relations are included
2014-07-24 13:35:02 -07:00
Miroslav Bajtoš
536fa4c577
model-helper: handle arrays with undefined items
2014-07-22 21:52:25 +02:00
Miroslav Bajtoš
a92450eaf0
model-helper: handle array types with no item type
2014-07-22 21:34:42 +02:00
Samuel Reed
75ba0580bc
More consise type tests
2014-07-11 09:55:57 -04: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