manually applied #458

This commit is contained in:
Tony Tam
2015-01-28 14:43:41 -08:00
parent f7c14fadf6
commit bc0a214ffa

View File

@@ -109,7 +109,7 @@ class OperationView extends Backbone.View
contentTypeModel.produces = @model.produces
for param in @model.parameters
type = param.type || param.dataType
type = param.type || param.dataType || ''
if typeof type is 'undefined'
schema = param.schema
if schema and schema['$ref']