Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 923 Bytes

File metadata and controls

35 lines (24 loc) · 923 Bytes

Spring Boot + OpenAPI Template

A clean, versioned Spring Boot template for building RESTful APIs with Swagger (Springdoc OpenAPI), grouped documentation, and custom headers — perfect for microservices or API-first projects.


🚀 Features

  • ✅ Spring Boot 3.x
  • ✅ OpenAPI 3.1 with Springdoc
  • ✅ API versioning (/v1, /v2) via GroupedOpenApi
  • ✅ Custom headers (e.g. X-B3-Span-Id) documented in Swagger
  • ✅ Shared metadata (contact, license, etc.) across versions

📚 API Documentation


📦 Getting Started

Prerequisites

  • Java 17+
  • Maven 3.8+

Run the App

./mvnw clean
./mvnw spring-boot:run