(fix) Swagger/OpenAPI-Dokumentation implementieren

This commit is contained in:
2025-06-30 23:38:48 +02:00
parent e2432510af
commit d40bfaac48
23 changed files with 1364 additions and 256 deletions
+19
View File
@@ -0,0 +1,19 @@
#!/bin/bash
# Start the server in background
cd /home/stefan-mo/WsMeldestelle/meldestelle
./gradlew :server:run &
SERVER_PID=$!
# Wait for server to start
sleep 10
# Test the endpoints
echo "Testing Swagger UI endpoint:"
curl -s http://localhost:8080/swagger | head -20
echo -e "\n\nTesting OpenAPI endpoint:"
curl -s http://localhost:8080/openapi | head -20
# Kill the server
kill $SERVER_PID