Skip to content

Instantly share code, notes, and snippets.

@shelajev
Created January 15, 2016 16:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shelajev/d6a24a7da42fb3bd06d6 to your computer and use it in GitHub Desktop.
Save shelajev/d6a24a7da42fb3bd06d6 to your computer and use it in GitHub Desktop.
retrofit2-GitHubService-1.java
public interface GitHubService {
@GET(“repos/{owner}/{repo}/contributors”)
Call<List<Contributor>> repoContributors(
@Path(“owner”) String owner,
@Path(“repo”) String repo);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment