feat(api): add tags to event and user routes for better categorization
All checks were successful
container-scan / Container Scan (pull_request) Successful in 2m48s
docker-build / docker (pull_request) Successful in 6m39s

This commit is contained in:
Dominik 2025-06-16 11:09:43 +02:00
parent 51d02324bd
commit 787edf8e1f
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 a specific participant's details in an event
* description: Returns the details of a specific participant in an event.
* tags:
* - Event_Participant
* parameters:
* - in: path
* name: eventID
@ -150,6 +152,8 @@ export const GET = auth(async (req, { params }) => {
* delete:
* summary: Remove a participant from an event
* description: Removes a participant from an event. Only the organizer can remove participants.
* tags:
* - Event_Participant
* parameters:
* - in: path
* name: eventID
@ -282,6 +286,8 @@ export const DELETE = auth(async (req, { params }) => {
* patch:
* summary: Update a participant's status in an event
* description: Updates the status of a participant in an event. Only the participant can update their own status.
* tags:
* - Event_Participant
* parameters:
* - in: path
* name: eventID