Skip to content

Instantly share code, notes, and snippets.

@tao-qian
Created August 31, 2016 17:29
Show Gist options
  • Save tao-qian/5b6b0bc4689396a16762a6b0eef5172a to your computer and use it in GitHub Desktop.
Save tao-qian/5b6b0bc4689396a16762a6b0eef5172a to your computer and use it in GitHub Desktop.
public class V1Api {
@Inject V1ApiService delegate;
@GET
@Path("/v1/account")
public AccountInfo getAccountInfo(@ApiParam(required=true) @QueryParam("account_id") String accountId) {
return delegate.getAccountInfo(accountId);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment