Allow to pass Route object or route name

Allow to pass Route object or route name to the `ApiDocExtractor::get` method.