
I Built a Maven Plugin That Generates Spring Boot CRUD Code — v1.4.0 Adds Soft Delete and Better Validation
I’ve just released Spring CRUD Generator v1.4.0 🎉 It’s an open-source Maven plugin that generates Spring Boot CRUD code from a YAML/JSON configuration — entities, DTOs, mappers, services, controllers, Flyway migrations, Docker resources, OpenAPI support, caching configuration, and more. Repository: https://github.com/mzivkovicdev/spring-crud-generator What’s new in v1.4.0 1) Stricter input spec validation (and better error reporting) Validation is now significantly stricter, but also more helpful. Instead of failing fast on the first invalid field, the generator now validates the entire entity and collects multiple validation errors before failing. Entities are still validated one-by-one, but you get a complete list of issues per entity, which makes fixing configuration problems much faster. On top of that, relation validation got a major upgrade. The input spec is now validated for common (and painful) relation mistakes, such as: invalid relation type values relations referencing targ
Continue reading on Dev.to Webdev
Opens in a new tab




