Skip to content

Commit e13e549

Browse files
committed
added constructor
1 parent 6a20242 commit e13e549

File tree

1 file changed

+4
-0
lines changed
  • modules/swagger-models/src/main/java/com/wordnik/swagger/models/properties

1 file changed

+4
-0
lines changed

modules/swagger-models/src/main/java/com/wordnik/swagger/models/properties/LongProperty.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ public LongProperty _default(String _default) {
3030
}
3131
return this;
3232
}
33+
public LongProperty _default(Long _default) {
34+
this.setDefault(_default);
35+
return this;
36+
}
3337

3438
public static boolean isType(String type, String format) {
3539
if("integer".equals(type) && "int64".equals(format))

0 commit comments

Comments
 (0)