@Documented
@Target(value=PARAMETER)
@Retention(value=RUNTIME)
public @interface Tag
@GET("/")
Call<ResponseBody> foo(@Tag String tag);
Tag arguments may be null
which will omit them from the request. Passing a parameterized
type will use the raw type as the key (e.g., List<String>
uses List.class
).
Primitive types will be boxed and stored using the boxed type
(e.g., long
uses Long.class
).
Duplicate tag types are not allowed.