feat: add OpenAPI tags to various controllers for improved API documentation
This commit is contained in:
@@ -5,6 +5,7 @@ namespace App\Category\Controller;
|
||||
use App\Shared\Controller\BaseController;
|
||||
use Symfony\Component\HttpFoundation\JsonResponse;
|
||||
use Symfony\Component\Routing\Attribute\Route;
|
||||
use OpenApi\Attributes as OA;
|
||||
|
||||
/**
|
||||
* Legacy stub — all endpoints migrated to domain-specific controllers:
|
||||
@@ -14,6 +15,7 @@ use Symfony\Component\Routing\Attribute\Route;
|
||||
* Insurances → App\Insurance\Controller\InsuranceController
|
||||
* Tags → App\Tag\Controller\TagController
|
||||
*/
|
||||
#[OA\Tag(name: 'Categories')]
|
||||
class CategoryController extends BaseController
|
||||
{
|
||||
#[Route('/api/v1/categorys/{bundle}', methods: ['GET'])]
|
||||
|
||||
Reference in New Issue
Block a user