';
+ stronger = '
';
+ strongClose = '
';
+ classOpen = strong + 'class ' + this.name + strongClose;
+ classClose = '';
+ returnVal = classOpen + '
- ' + propertiesStr.join('
- ') + '
' + classClose;
+// if (prefix != null) {
+// returnVal = stronger + prefix + strongClose + returnVal;
+// }
if (!modelsToIgnore) {
modelsToIgnore = [];
}
@@ -415,12 +415,14 @@
SwaggerModelProperty.prototype.toString = function() {
var str;
- str = this.name + ': ' + this.dataTypeWithRef;
+ str = this.name;
if (this.values != null) {
- str += " = ['" + this.values.join("' or '") + "']";
+ str += " ('" + this.values.join("' or '") + "')";
+ } else {
+ str += ' (' + this.dataTypeWithRef + ')';
}
if (this.descr != null) {
- str += ' {' + this.descr + '}';
+ str += ' - ' + this.descr;
}
return str;
};