Closed
Description
@Client
@Path("users")
public interface GitHubUsers {
@Get("{user}/repos")
List<Repo> listRepos(String user);
}
The client annotation processor then generates an implementation of GitHubUsers
Client.Import
To generate a client when the API is defined in another module use @Client.Import
@Client.Import(types = OtherApi.class)
package org.example;