Created
July 13, 2020 01:54
-
-
Save sberoch/886d740052c1a7451cf5c3658593bfb4 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
interface CharacterService { | |
@GET("character") | |
suspend fun getAllCharacters() : Response<CharacterList> | |
@GET("character/{id}") | |
suspend fun getCharacter(@Path("id") id: Int): Response<Character> | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment