Permalink
Browse files

standard js format

  • Loading branch information...
Nils Knappmeier
Nils Knappmeier committed Oct 15, 2015
1 parent cf49c1b commit 005521df559969a0afc5e59f1c0aadbfe5d2e896
Showing with 5 additions and 5 deletions.
  1. +5 −5 handlebars/helpers.js
@@ -1,11 +1,11 @@
module.exports = {
'swagger--collection-format': function (value, paramName) {
return {
'csv': 'comma separated (`'+paramName+'=aaa,bbb`)',
'ssv': 'space separated (`'+paramName+'=aaa bbb`)',
'tsv': 'tab separated (`'+paramName+'=aaa\\tbbb`)',
'pipes': 'pipe separated (`'+paramName+'=aaa|bbb`)',
'multi': 'multiple parameters (`'+paramName+'=aaa&'+paramName+'=bbb`)'
'csv': 'comma separated (`' + paramName + '=aaa,bbb`)',
'ssv': 'space separated (`' + paramName + '=aaa bbb`)',
'tsv': 'tab separated (`' + paramName + '=aaa\\tbbb`)',
'pipes': 'pipe separated (`' + paramName + '=aaa|bbb`)',
'multi': 'multiple parameters (`' + paramName + '=aaa&' + paramName + '=bbb`)'
}[value]
},
'swagger--response-code': function (code) {

0 comments on commit 005521d

Please sign in to comment.