Fix typo

$route parameter of ApiDocExtractor::get is a string. Passing a Route object throw an error.