r/JavaProgramming • u/EagleResponsible8752 • Feb 26 '26
REST API Generator with Spring Boot
Hi everyone,
I’ve been experimenting with Spring AI and built a small tool that converts natural-language prompts into runnable Spring Boot projects.
The generator creates a basic multi-entity structure including:
Controllers
Services
Repositories
DTOs
Validation
Tests
OpenAPI configuration
Docker setup
The goal is to reduce boilerplate and standardize project structure when starting new APIs.
It’s still evolving, and I’d really appreciate feedback from the community — especially around architecture decisions and Spring best practices.
If you're interested, the repository is on GitHub under:rrezartprebreza/rest-api-generator
Happy to hear suggestions or criticism.
8
Upvotes