Skip to content

Instantly share code, notes, and snippets.

@tao-qian
Created August 31, 2016 17:40
Show Gist options
  • Save tao-qian/8e2bb27feb43be55a2b4d23e131d9705 to your computer and use it in GitHub Desktop.
Save tao-qian/8e2bb27feb43be55a2b4d23e131d9705 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, @ApiParam(required=false) @QueryParam("account_type") String accountType) {
return delegate.getAccountInfo(accountId);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment