fixed required param bug per #163

This commit is contained in:
Tony Tam
2013-03-08 06:19:29 -08:00
parent db4175ef57
commit 722da60f5d
4 changed files with 6 additions and 6 deletions

4
dist/swagger-ui.js vendored
View File

@@ -1031,7 +1031,7 @@ function program12(depth0,data) {
function program13(depth0,data) {
var buffer = "", stack1;
buffer += "\n <input class='parameter' class='required' minlength='1' name='";
buffer += "\n <input class='parameter required' minlength='1' name='";
foundHelper = helpers.name;
stack1 = foundHelper || depth0.name;
if(typeof stack1 === functionType) { stack1 = stack1.call(depth0, { hash: {} }); }
@@ -1047,7 +1047,7 @@ function program13(depth0,data) {
function program15(depth0,data) {
var buffer = "", stack1;
buffer += "\n <input class='parameter' class='required' minlength='1' name='";
buffer += "\n <input class='parameter required' minlength='1' name='";
foundHelper = helpers.name;
stack1 = foundHelper || depth0.name;
if(typeof stack1 === functionType) { stack1 = stack1.call(depth0, { hash: {} }); }