Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit c43e531

Browse files
committedApr 23, 2020
Add validator property
1 parent 5cb40d3 commit c43e531

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed
 

‎src/AndroidClient/android/src/main/java/net/servicestack/client/ValidateRequest.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
package net.servicestack.client;
22

33
public @interface ValidateRequest {
4+
/// <summary>
5+
/// Expression to create a validator registered in Validators.Types
6+
/// </summary>
7+
public String Validator() default "";
8+
49
/// <summary>
510
/// Boolean #Script Code Expression to Test
611
/// </summary>

‎src/AndroidClient/client/src/main/java/net/servicestack/client/ValidateRequest.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
package net.servicestack.client;
22

33
public @interface ValidateRequest {
4+
/// <summary>
5+
/// Expression to create a validator registered in Validators.Types
6+
/// </summary>
7+
public String Validator() default "";
8+
49
/// <summary>
510
/// Boolean #Script Code Expression to Test
611
/// </summary>

0 commit comments

Comments
 (0)
Please sign in to comment.