Skip to content

Commit 1b54cd9

Browse files
committed
Add missing ApiMember.ExcludeInSchema annotation property
1 parent 7c62250 commit 1b54cd9

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

src/AndroidClient/android/src/main/java/net/servicestack/client/JsonServiceClient.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55

66
import com.google.gson.Gson;
77
import com.google.gson.GsonBuilder;
8-
import com.google.gson.JsonArray;
98
import com.google.gson.JsonElement;
109
import com.google.gson.JsonObject;
1110

@@ -16,15 +15,12 @@
1615
import java.io.InputStreamReader;
1716
import java.io.UnsupportedEncodingException;
1817
import java.lang.reflect.Field;
19-
import java.lang.reflect.Modifier;
2018
import java.lang.reflect.Type;
2119
import java.net.HttpURLConnection;
2220
import java.net.URL;
2321
import java.net.URLEncoder;
2422
import java.nio.charset.Charset;
25-
import java.util.ArrayList;
2623
import java.util.Date;
27-
import java.util.Iterator;
2824
import java.util.Map;
2925
import java.util.UUID;
3026

src/AndroidClient/client/src/main/java/net/servicestack/client/ApiMember.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,4 +56,9 @@
5656
/// Gets or sets route to which applies attribute, matches using StartsWith. By default applies to all routes.
5757
/// </summary>
5858
public String Route() default "";
59+
60+
/// <summary>
61+
/// Whether to exclude this property from being included in the ModelSchema
62+
/// </summary>
63+
public boolean ExcludeInSchema() default false;
5964
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy