Added hover over popup to display property validation attributes

swagger-ui does not render all Parameter-fields #808
This commit is contained in:
Brian Shamblen
2015-01-29 10:11:13 -08:00
parent b7a7607820
commit d7ac2f7232
8 changed files with 246 additions and 2 deletions

View File

@@ -64,6 +64,13 @@ class MainView extends Backbone.View
@addResource resource, @model.auths
@
$('.propWrap').hover(
->
$('.optionsWrapper', $(this)).show()
,->
$('.optionsWrapper', $(this)).hide()
)
addResource: (resource, auths) ->
# Render a resource and add it to resources li
resource.id = resource.id.replace(/\s/g, '_')