diff --git a/src/ApiDocs.php b/src/ApiDocs.php index c6373b5..e1dc1cd 100644 --- a/src/ApiDocs.php +++ b/src/ApiDocs.php @@ -28,6 +28,7 @@ public function show($routePrefix = null) $endpoints = $this->getEndpoints($currentPrefix); $endpoints = $this->getSortedEndpoints($endpoints); $prefixes = $this->getRoutePrefixes(); + $endpoints = $endpoints['App']['Http']['Controllers']['API']; return view('apidocs::docs', compact('endpoints', 'prefixes', 'currentPrefix')); } // end show