Added hover over popup to display property validation attributes
swagger-ui does not render all Parameter-fields #808
This commit is contained in:
@@ -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, '_')
|
||||
|
||||
Reference in New Issue
Block a user