fixed body param
This commit is contained in:
1244
dist/swagger-ui.js
vendored
1244
dist/swagger-ui.js
vendored
File diff suppressed because it is too large
Load Diff
4
dist/swagger-ui.min.js
vendored
4
dist/swagger-ui.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -21,7 +21,7 @@ class ParameterView extends Backbone.View
|
||||
|
||||
@model.type = type
|
||||
@model.paramType = @model.in || @model.paramType
|
||||
@model.isBody = true if @model.paramType == 'body'
|
||||
@model.isBody = true if @model.paramType == 'body' or @model.in == 'body'
|
||||
@model.isFile = true if type and type.toLowerCase() == 'file'
|
||||
@model.default = (@model.default || @model.defaultValue)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user