Browse files

Adds a required field to an api property

  • Loading branch information...
1 parent 14ec58b commit 273f9c4a221e4cb1d9fa70f38865d6e3acae1a1d @casualjim casualjim committed Sep 14, 2012
View
1 modules/swagger-annotations/src/main/java/com/wordnik/swagger/annotations/ApiProperty.java
@@ -29,4 +29,5 @@
String access() default "";
String notes() default "";
String dataType() default "";
+ boolean required() default false;
}

0 comments on commit 273f9c4

Please sign in to comment.