From 31111207afad34dbde76652997be907b1866e924 Mon Sep 17 00:00:00 2001 From: Rand McKinney Date: Wed, 27 Nov 2013 15:10:03 -0800 Subject: [PATCH] Minor formatting fixes to make it play well in wiki --- docs/api-model-remote.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/api-model-remote.md b/docs/api-model-remote.md index 039e17c5..d45171a2 100644 --- a/docs/api-model-remote.md +++ b/docs/api-model-remote.md @@ -36,19 +36,23 @@ The options argument is a JSON object, described in the following table. | returns | No | Describes the remote method's callback arguments, as explained below.. The err argument is assumed; do not specify. | | http | No | HTTP routing information: -**Argument description** + +**Argument description** The arguments description defines either a single argument as an object or an ordered set of arguments as an array. Each individual argument has keys for: + * arg: argument name * type: argument datatype; must be a[loopback type](http://wiki.strongloop.com/display/DOC/LoopBack+types). * required: Boolean value indicating if argument is required. For example, a single argument, specified as an object: + ```js {arg: 'myArg', type: 'number'} ``` Multiple arguments, specified as an array: + ```js [ {arg: 'arg1', type: 'number', required: true},