From cfff8dd035ad376892139192c03718ce2dcc20f0 Mon Sep 17 00:00:00 2001 From: Jeff Williams Date: Tue, 2 Apr 2013 08:41:05 -0700 Subject: [PATCH] identify repeatable params in the default template (#381) --- templates/default/tmpl/params.tmpl | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/templates/default/tmpl/params.tmpl b/templates/default/tmpl/params.tmpl index ca81f8f8..7b951149 100644 --- a/templates/default/tmpl/params.tmpl +++ b/templates/default/tmpl/params.tmpl @@ -24,7 +24,7 @@ params.forEach(function(param) { if (!param) { return; } - if (param.optional || param.nullable) { + if (param.optional || param.nullable || param.variable) { params.hasAttributes = true; } @@ -86,6 +86,10 @@ <nullable>
+ + + <repeatable>
+