Spring Framework · Example Payload

Spring Initializr Generate Example

Example of generating a Spring Boot REST API project with web, JPA, security, and actuator starters

AICloud NativeEnterpriseFrameworkJavaMicroservicesOpen SourceRESTSpring Boot

Spring Initializr Generate Example is an example object payload from Spring Framework, with 4 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

titledescriptionrequestresponse

Example Payload

Raw ↑
{
  "title": "Generate Spring Boot Project",
  "description": "Example of generating a Spring Boot REST API project with web, JPA, security, and actuator starters",
  "request": {
    "method": "GET",
    "url": "https://start.spring.io/starter.zip?type=maven-project&language=java&bootVersion=3.4.5&groupId=com.example&artifactId=my-api&name=my-api&description=My+REST+API&packageName=com.example.myapi&packaging=jar&javaVersion=21&dependencies=web,data-jpa,security,actuator,lombok",
    "headers": {
      "Accept": "application/zip"
    }
  },
  "response": {
    "status": 200,
    "headers": {
      "Content-Type": "application/zip",
      "Content-Disposition": "attachment; filename=\"my-api.zip\""
    },
    "body": "(binary ZIP archive containing the generated Spring Boot project)"
  }
}