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 60c5bd909c
commit f770e56071

View file

@ -4,11 +4,19 @@ import SwaggerUI from 'swagger-ui-react';
import 'swagger-ui-react/swagger-ui.css';
type Props = {
<<<<<<< HEAD
spec: object;
=======
spec: object,
>>>>>>> 57e420f (feat(api): add swagger docs, /api/user/me GET and PUT endpoints)
};
function ReactSwagger({ spec }: Props) {
return <SwaggerUI spec={spec} />;
}
<<<<<<< HEAD
export default ReactSwagger;
=======
export default ReactSwagger;
>>>>>>> 57e420f (feat(api): add swagger docs, /api/user/me GET and PUT endpoints)