restler

    0熱度

    1回答

    所需的PARAMS Restler類比方說,我有這個與我的API類 class EventInfo { /// @var int $start The Start time public $start /// @var string $url The URL for the event {@required false} public $url = nul

    0熱度

    1回答

    我有這個我的對象類和API類。我可以在不發送task_list_id或display_order的情況下發送郵件。只要我通過title它調用該方法。 class BaseTaskObj { /// @var int $task_list_id The SQL ident of the Task List to use for the Task. {@min 1}{@required t

    0熱度

    1回答

    的最小值。如果我把這個在我的PHPDoc的評論: * @param array $children The SQL idents of the children to add to the parent. {@type int} {@min 1} 然後Restler花費認爲這意味着它是一個整數數組與至少一個數組元素。還有一種方法可以說,數組中整數的最小值是1嗎?

    0熱度

    1回答

    我嘗試使用luracast/restler集成Restler 3與Laravel 5,但我堅持如何使用Laravel DB並與Restler進行口才。請幫助我或提供參考鏈接。謝謝。 給我另一個有用的API的建議。

    9熱度

    1回答

    在我Restler API類我已經定義了以下這樣一個對象(與許多其他則params的) class PatchTaskObj extends TaskObj { /** * @var bool|null Whether or not this Task should be pinned to the top of the list {@required false}

    0熱度

    1回答

    在我的網絡服務器上運行Apache/2.2.26 (Unix) DAV/2 PHP/5.4.24 mod_ssl/2.2.26 OpenSSL/0.9.8y我試圖設置Restler,但它似乎無法正確處理index.php。這是一個Web應用程序的設置與httpd.conf中,看起來像這樣: Alias "/dts2" "/usr/local/WebApps/DTS/root" <Directo

    0熱度

    1回答

    當我將@param定義爲數組或將@return定義爲數組時,Restler附帶的資源管理器始終會說array[string]。有沒有一種方法可以指定它真的是什麼類型的數組?

    0熱度

    1回答

    爲什麼我會像POST一樣執行某個restler方法,輸出似乎總是以換行符開始。如何防止將換行符輸入到輸出中?

    2熱度

    1回答

    我想用xampp 5.6.23在Windows上設置開發環境。 我有一個API我想建立與Restler 3.0.0這樣我就可以瀏覽到http://localhost/api/cars/search?term=red來調用C:\xampp\htdocs\api\cars.php文件search($term)功能: <?php class cars{ public function sea

    1熱度

    1回答

    我正在使用Restler在用PHP編寫的代碼中提供REST API,我想在API中將操作設置爲棄用。 我使用Restler API Explorer來記錄/瀏覽API。 的Restler API瀏覽器是基於揚鞭UI,它看起來是揚鞭UI支持: https://github.com/swagger-api/swagger-ui/issues/289 https://github.com/swagger