feat(api): add tags to event and user routes for better categorization

This commit is contained in:
Dominik 2025-06-16 11:09:43 +02:00
parent 19e07d9980
commit 91f4c524b9
Signed by: dominik
GPG key ID: 06A4003FC5049644
8 changed files with 28 additions and 1 deletions

View file

@ -8,6 +8,8 @@ import { NextResponse } from 'next/server';
* get:
* summary: Get all events for the authenticated user
* description: Returns all events where the user is an organizer or a participant.
* tags:
* - Event
* responses:
* 200:
* description: List of events for the user.
@ -110,6 +112,8 @@ export const GET = auth(async (req) => {
* post:
* summary: Create a new event
* description: Creates a new event as the authenticated user (organizer).
* tags:
* - Event
* requestBody:
* required: true
* content: