java.lang.IllegalArgumentException: API interfaces must not extend other interfaces Retrofit 2 java.lang.IllegalArgumentException: API interfaces must not extend other interfaces Retrofit 2 android android

java.lang.IllegalArgumentException: API interfaces must not extend other interfaces Retrofit 2


It's not possible to have a base Retrofit interface.

JakeWharton:

Retrofit favors composition over inheritance. One interface per service.

So as you already found out, the only solution is to create three independents interfaces.