Created
August 31, 2016 17:29
-
-
Save tao-qian/69a524c02b25f23f089baa24ead2d611 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class V1Api { | |
@Inject V1ApiService delegate; | |
@GET | |
@Path("/v1/account") | |
public AccountInfo getAccountInfo(@ApiParam(required=true) @QueryParam("account_id") String accountId) { | |
assertNotNull(accountId); // null check generated for all required parameters | |
return delegate.getAccountInfo(accountId); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment