summaryrefslogtreecommitdiff
path: root/lib/kotlin/src/test/resources
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kotlin/src/test/resources')
-rw-r--r--lib/kotlin/src/test/resources/AnnotationTest.thrift7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/kotlin/src/test/resources/AnnotationTest.thrift b/lib/kotlin/src/test/resources/AnnotationTest.thrift
new file mode 100644
index 000000000..0c4bca205
--- /dev/null
+++ b/lib/kotlin/src/test/resources/AnnotationTest.thrift
@@ -0,0 +1,7 @@
+namespace java org.apache.thrift.kotlin.annotation.test
+
+struct Person {
+ 1: required i64 id (min="1", max="100000")
+ 2: required string name
+ 3: optional string phoneNumber
+}