Restler API Explorer is a tweaked version of Swagger UI, a dependency-free collection of HTML, Javascript, and CSS assets that dynamically generate beautiful documentation from a Swagger-compliant API.
It seems that Restler explorer is not working fine with latest restler version.
For example, if I create a method like below, i can modify index and count on explorer, but they get never get submitted to request. The previous version was working fine. Also the new version set those items in body if i don't put {@from url}.
Am I missing something?
/**
* Fetch all items
*
* Return all items from database.
*
* @param int $index Start index (Defaults to 0) {@from url}
* @param int $count Max items to fetch (Defaults to 50) {@from url}
* @url GET
* @return array
*/
function get($index = 0, $count = 50)
{
return Database::get($index, $count);
}
It seems that Restler explorer is not working fine with latest restler version.
For example, if I create a method like below, i can modify index and count on explorer, but they get never get submitted to request. The previous version was working fine. Also the new version set those items in body if i don't put {@from url}.
Am I missing something?