Fixed wrong method types on REST documentation