closes #35
This commit is contained in:
@@ -54,7 +54,7 @@ class SwaggerUi extends Backbone.Router
|
||||
switch @options.docExpansion
|
||||
when "full" then Docs.expandOperationsForResource('')
|
||||
when "list" then Docs.collapseOperationsForResource('')
|
||||
@options.onComplete() if @options.onComplete
|
||||
@options.onComplete(@api, @) if @options.onComplete
|
||||
setTimeout(
|
||||
=>
|
||||
Docs.shebang()
|
||||
|
||||
@@ -6,6 +6,7 @@ class ParameterView extends Backbone.View
|
||||
|
||||
template = @template()
|
||||
$(@el).html(template(@model))
|
||||
|
||||
@
|
||||
|
||||
# Return an appropriate template based on if the parameter is a list, readonly, required
|
||||
|
||||
Reference in New Issue
Block a user