package org.phphub.app.api;

import org.phphub.app.R;
import org.phphub.app.api.entity.UserEntity;

import eu.unicate.retroauth.annotations.Authenticated;
import eu.unicate.retroauth.annotations.Authentication;
import retrofit.http.GET;
import rx.Observable;

@Authentication(accountType = R.string.auth_account_type, tokenType = R.string.auth_token_type)
public interface UserApi {

    @Authenticated
    @GET("/me")
    Observable<UserEntity.AUser> getMyselfInfo();

    @GET("/users/{userId}")
    Observable<UserEntity.AUser> getUserInfo(int userId);
}

@@ -230,16 +230,43 @@
 tp.GET;%0A
+import retrofit.http.Path;%0A
 import r
@@ -563,16 +563,32 @@
 serInfo(
+@Path(%22userId%22) 
 int user

add "@Path" to getUserInfo function