feat(api): add swagger docs, /api/user/me GET and PUT endpoints

This commit is contained in:
Dominik 2025-06-11 22:43:37 +02:00 committed by Micha
parent d62e954348
commit f245b4156f
3 changed files with 419 additions and 186 deletions

View file

@ -2,6 +2,6 @@ export { auth as middleware } from '@/auth';
export const config = {
matcher: [
'/((?!api|_next/static|api-doc|_next/image|site\.webmanifest|web-app-manifest-(?:192x192|512x512)\.png|apple-touch-icon.png|favicon(?:-(?:dark|light))?\.(?:png|svg|ico)|fonts).*)',
'/((?!api|_next/static|api-doc|api-doc|_next/image|site\.webmanifest|web-app-manifest-(?:192x192|512x512)\.png|apple-touch-icon.png|favicon(?:-(?:dark|light))?\.(?:png|svg|ico)|fonts).*)',
],
};