fix for #626, added support for (default || defaultValue)
This commit is contained in:
@@ -23,7 +23,7 @@ class ParameterView extends Backbone.View
|
||||
@model.paramType = @model.in || @model.paramType
|
||||
@model.isBody = true if @model.paramType == 'body'
|
||||
@model.isFile = true if type and type.toLowerCase() == 'file'
|
||||
#@model.signature = type
|
||||
@model.default = (@model.default || @model.defaultValue)
|
||||
|
||||
template = @template()
|
||||
$(@el).html(template(@model))
|
||||
|
||||
Reference in New Issue
Block a user