2013-08-21 46 views
0

我試圖使用Restler 3 API Explorer,並遇到一些問題。即使我在註釋中放置了「@param int $ n1」,在API Explorer中它將參數顯示爲字符串。除此之外,當標籤「@return」設置爲數組時,API Explorer僅顯示「響應信息」。我想知道問題是否與API Explorer,我的代碼或某些配置有關。Restler 3 API Explorer中的問題

class Math 
    { 
    /** 
     * Função para somar dois números 
     * 
     * teste teste teste 
     * 
     * @param int $n1 teste 
     * 
     * @return int 
     */ 
    function add($n1) 
    { 
     return $n1; 
    } 
    } 

(對不起,我英文不好)

+0

聽起來像是你有與該軟件包的一個問題。供應商提供哪種支持計劃? – hakre

回答

0

這應該按預期在Restler 3 RC4和最新Restler API瀏覽器

+0

我從http://luracast.com/products/restler下載了它的最新版本,它的工作原理是github。謝謝! – Esap