spring-rest-api-creator

Installation
SKILL.md

Spring REST APIs Creator

Instructions

The following are key principles to follow while creating Spring REST APIs:

  • Make sure to create the recommended package structure for Spring Boot projects
  • Use converters to bind @PathVariable and @RequestParam to Value Objects
  • Use Jackson for @RequestBody binding to Request Objects with Value Object properties
  • Use @JsonUnwrapped to map flattened JSON to nested objects
  • Validate with @Valid annotation
  • Return appropriate HTTP status codes
  • Delegate to services for business logic execution

Converter for PathVariable/RequestParam Binding

import org.springframework.core.convert.converter.Converter;
import org.springframework.stereotype.Component;
Installs
2
GitHub Stars
47
First Seen
Jul 19, 2026
spring-rest-api-creator — sivaprasadreddy/sivalabs-marketplace