loopback/test/fixtures/simple-integration-app/common/models
Miroslav Bajtoš f76edd5d61 Fix remoting metadata for "data" arguments
Fix the definition of "data" argument to

    { type: 'object', model: modelName, ... }

That way strong-remoting passed the request body directly to the model
method (does not create a new model instance), but the swagger will
still provide correct schema for these arguments.

This fixes a bug where upsert in relation methods was adding default
property values to request payload.
2016-09-07 14:27:58 +02:00
..
access-token.json Upgrade test fixtures to use LB 2.x layout 2015-04-20 09:23:44 -07:00
appointment.json Upgrade test fixtures to use LB 2.x layout 2015-04-20 09:23:44 -07:00
customer.json Upgrade test fixtures to use LB 2.x layout 2015-04-20 09:23:44 -07:00
email.json Upgrade test fixtures to use LB 2.x layout 2015-04-20 09:23:44 -07:00
patient.json Upgrade test fixtures to use LB 2.x layout 2015-04-20 09:23:44 -07:00
physician.json Upgrade test fixtures to use LB 2.x layout 2015-04-20 09:23:44 -07:00
profile.json Upgrade test fixtures to use LB 2.x layout 2015-04-20 09:23:44 -07:00
store-replacing.json Expose `Replace*` methods 2016-06-10 14:56:44 -04:00
store-updating.json Expose `Replace*` methods 2016-06-10 14:56:44 -04:00
store.json Upgrade test fixtures to use LB 2.x layout 2015-04-20 09:23:44 -07:00
user.json Upgrade test fixtures to use LB 2.x layout 2015-04-20 09:23:44 -07:00
widget.json Fix remoting metadata for "data" arguments 2016-09-07 14:27:58 +02:00