DMTools provides multiple API interfaces for executing jobs and automating development lifecycle tasks. For detailed API documentation with schemas, interactive testing, and complete parameter descriptions, use the Swagger UI.
For complete API documentation, schemas, and interactive testing:
👉 Visit Swagger UI: http://localhost:8080/swagger-ui.html
graph TB
subgraph "API Interfaces"
A[REST API - Spring Boot]
B[CLI Interface - JobRunner]
C[URL Encoded Trigger]
D[Library Integration]
end
subgraph "Job Categories"
E[Business Analyst Jobs]
F[Developer Jobs]
G[QA Engineer Jobs]
H[Scrum Master Jobs]
I[Solution Architect Jobs]
J[General Purpose Jobs]
end
A --> E
B --> E
C --> E
D --> E
A --> F
B --> F
C --> F
D --> F
A --> G
B --> G
C --> G
D --> G
A --> H
B --> H
C --> H
D --> H
A --> I
B --> I
C --> I
D --> I
A --> J
B --> J
C --> J
D --> J
- RequirementsCollector - Collect and analyze requirements from various sources
- UserStoryGenerator - Generate user stories from requirements and specifications
- BusinessAnalyticDORGeneration - Create Definition of Ready (DOR) for business requirements
- BAProductivityReport - Generate Business Analyst productivity reports
- DevProductivityReport - Comprehensive developer productivity analysis
- CodeGenerator - AI-powered code generation from specifications
- UnitTestsGenerator - Generate unit tests for existing code
- CommitsTriage - Analyze and categorize commits for better tracking
- QAProductivityReport - QA team productivity analysis and metrics
- TestCaseGenerator - Automated test case generation from requirements
- AutomationTestingGenerator - Generate automation test scripts
- TestCaseVisualizer - Create visual representations of test coverage
- DailyReportBot - Automated daily standup report generation
- SprintAnalytics - Sprint performance analysis and metrics
- TeamProductivityDashboard - Team-wide productivity visualization
- ArchitectureDocGenerator - Generate technical architecture documentation
- TechnicalSpecGenerator - Create technical specifications from requirements
- SystemDesignAnalyzer - Analyze and document system design decisions
- Expert - AI-powered technical analysis and consultation
- PresentationMaker - Automated presentation generation
- ReportGenerator - Custom report generation from various data sources
Execute jobs through HTTP endpoints:
POST /api/executeJob
Content-Type: application/json
{
"name": "JobName",
"params": { ... }
}
java -cp dmtools.jar com.github.istin.dmtools.job.UrlEncodedJobTrigger "$BASE64_ENCODED_PARAMS"JobParams params = new JobParams();
params.set("parameter", "value");
new JobClass().runJob(params);input_jql- JIRA JQL query for data filteringstart_date/end_date- Date range for reportsreport_name- Name of the generated reportai_model- AI model to use (gpt-4, gemini, etc.)output_format- Output format (confluence, jira, file)
employees.json- Employee information and rolesemployees_aliases.json- Employee alias mappings- Formula files (
.js) - Custom calculation formulas
-
Start the server:
./gradlew bootRun
-
Access interactive documentation: Visit
http://localhost:8080/swagger-ui.html -
Test job execution: Use the Swagger interface to explore available jobs and their parameters
-
View job schemas: All job parameters, validation rules, and response formats are documented in Swagger
Authentication is handled through OAuth2 integration. Configuration details are available in the main README.md file.
All API endpoints return standard HTTP status codes with descriptive error messages. Detailed error schemas and troubleshooting information is available in the Swagger documentation.
For detailed API usage, complete parameter schemas, and interactive testing:
- Swagger UI:
http://localhost:8080/swagger-ui.html- Complete API documentation - GitHub Issues: DMTools Issues
- Main Documentation: README.md - Setup and configuration