All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.example.GitHubService Maven / Gradle / Ivy

package org.example;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Path;

import java.util.List;

/**
 * Example Retrofit API.
 */
public interface GitHubService {

  @GET("users/{user}/repos")
  Call> listRepos(@Path("user") String user);

  @GET("users/{user}/repos")
  Call list2(@Path("user") String user);

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy