Access the interactive API documentation:
- Swagger UI: http://localhost:8080/swagger-ui.html
- OpenAPI JSON: http://localhost:8080/api-docs
The Swagger UI provides:
- ✅ Interactive API Testing - Try all endpoints directly from the browser
- ✅ Request/Response Schemas - See exact data structures for all endpoints
- ✅ Parameter Documentation - Detailed descriptions for all parameters
- ✅ Response Codes - Complete list of possible responses
- ✅ Try It Out - Execute API calls and see real responses
Features:
- All endpoints are fully documented with descriptions
- Request/response examples for each endpoint
- Parameter validation and type information
- Organized by tags (Test Cases, Test Executions, Test Runner, etc.)
GET /api/test-cases- Get all test casesGET /api/test-cases/{id}- Get test case by IDGET /api/test-cases/by-test-case-id/{testCaseId}- Get by test case IDGET /api/test-cases/technology/{technology}- Get by technologyGET /api/test-cases/category/{category}- Get by categoryGET /api/test-cases/enabled- Get enabled test casesGET /api/test-cases/enabled/technology/{technology}- Get enabled by technologyPOST /api/test-cases- Create new test casePUT /api/test-cases/{id}- Update test caseDELETE /api/test-cases/{id}- Delete test casePOST /api/test-cases/{id}/enable- Enable a test casePOST /api/test-cases/{id}/disable- Disable a test case
GET /api/test-executions- Get all executionsGET /api/test-executions/{id}- Get execution by IDGET /api/test-executions/test-case/{testCaseId}- Get by test caseGET /api/test-executions/status/{status}- Get by statusGET /api/test-executions/technology/{technology}- Get by technologyGET /api/test-executions/date-range?start={start}&end={end}- Get by date rangeGET /api/test-executions/recent/test-case/{testCaseId}- Get recent executionsPOST /api/test-executions- Create new executionPUT /api/test-executions/{id}- Update executionPOST /api/test-executions/{id}/complete?status={status}&errorMessage={msg}- Complete executionGET /api/test-executions/stats/count?status={status}- Count by status
POST /api/test-runner/run/{testCaseId}- Run a specific test casePOST /api/test-runner/run/id/{id}- Run by database IDPOST /api/test-runner/run/technology/{technology}- Run all tests for a technologyPOST /api/test-runner/run/category/{category}- Run all tests for a categoryPOST /api/test-runner/run/all- Run all enabled tests
GET /api/reports/test-case/{testCaseId}- Get report for a test caseGET /api/reports/execution/{executionId}- Get report for an execution
💡 Tip: Use the Swagger UI for interactive API exploration and testing!