src/Leevel/Router/OpenApiRouter.php
protected function parseGroups(OpenApi $openApi): array
    {
        $groups = [];

        if ($openApi->tags) {
            foreach ($openApi->tags as $tag) {
                if (property_exists($tag, 'leevelGroup')) {
                    $groups[] = '/'.$tag->leevelGroup;
                }
            }
        }

        return $groups;
    }
protected function parseGroups(OpenApi $openApi): array
    {
        $groups = [];

        if ($openApi->tags) {
            foreach ($openApi->tags as $tag) {
                if (property_exists($tag, 'leevelGroup')) {
                    $groups[] = '/'.$tag->leevelGroup;
                }
            }
        }

        return $groups;
    }
分析分组标签.

@param \OpenApi\Annotations\OpenApi $openApi

@return array