Browse Source

added ability to choose which config you use

MooseH 3 years ago
parent
commit
cf8535e76d
1 changed files with 0 additions and 7 deletions
  1. 0 7
      src/GroupedEndpoints/GroupedEndpointsFromApp.php

+ 0 - 7
src/GroupedEndpoints/GroupedEndpointsFromApp.php

@@ -265,13 +265,6 @@ class GroupedEndpointsFromApp implements GroupedEndpointsContract
 
         $methodDocBlock = new DocBlock(u::getReflectedRouteMethod($routeControllerAndMethod)->getDocComment() ?: '');
 
-        $routes = $this->docConfig->get('routes');
-        $configs = $routes[0]['apply']['response_calls']['config'];
-
-        if(isset($configs['ignore_hidden']) && $configs['ignore_hidden'] === true){
-            return collect()->isNotEmpty();
-        }
-
         $shouldIgnoreMethod = collect($methodDocBlock->getTags())
             ->filter(function (Tag $tag) {
                 return Str::lower($tag->getName()) === 'hidefromapidocumentation';