Skip to content
Browse files

Merge branch 'master' of https://github.com/mashery/iodocs

  • Loading branch information...
2 parents 9dcfe25 + 7a938ac commit c2b4d3656c128d11345dc41addaee395db435aa4 @mansilladev mansilladev committed Mar 28, 2014
Showing with 4 additions and 1 deletion.
  1. +4 −1 views/api.jade
View
5 views/api.jade
@@ -83,7 +83,7 @@ block content
li(class='method ' + httpmethod + ' ' + secure)
div.title.clickable
- var methodLink = (endpoint.name + '-' + method.HTTPMethod + '-' + method.MethodName).replace(/\s/g, '-')
- a(href='#'+methodLink)
+ a(href='#'+methodLink)
span.http-method !{method.HTTPMethod}
span.name !{method.MethodName}
span.uri !{method.URI}
@@ -143,6 +143,9 @@ block content
if (parameter.Default)
| #{parameter.Default}
input(type='hidden', name='locations['+parameter.Name+']', value=parameter.Location || 'query')
+ - else if (parameter.Type =='password')
+ input(type='password', name='params[' + parameter.Name + ']', value=parameter.Default)
+ input(type='hidden', name='locations['+parameter.Name+']', value=parameter.Location || 'query')
- else
input(name='params[' + parameter.Name + ']', value=parameter.Default, placeholder=className)
input(type='hidden', name='locations['+parameter.Name+']', value=parameter.Location || 'query')

0 comments on commit c2b4d36

Please sign in to comment.
Something went wrong with that request. Please try again.