OpenAPI and Spring-Boot 4 - What's New?
summary
Spring Boot 4 adds built-in API versioning (path, query, header, media type), native actuator and GraalVM support, and tighter Spring Security and Authorization Server integration while springdoc-openapi now auto-discovers controllers and exposes them as MCP tools with human-in-the-loop guardrails for mutating calls. Demos show swapping Swagger UI for the lightweight Scalar UI, client SDK generation, CI/CD generation via Gradle/Maven, and Sparkline metrics; the project reports 300 million downloads per quarter and supports Kotlin, WebFlux, MVC, HATEOAS, Data REST and serverless via Spring Cloud Function.
AI-written summary · about
chapters (21)
- 0:00Introduction
- 1:29Agenda and OpenAPI 3.2
- 3:37OpenAPI in modern APIs
- 5:21OpenAPI and Spring Boot history
- 7:29Spring Boot 4 API features
- 8:55SpringDoc stats and adoption
- 10:39Supported languages and frameworks
- 12:25Project architecture
- 13:51Scalar UI and MCP UI intro
- 15:57Demo: Scalar UI
- 19:11Spring Boot 4 versioning
- 21:39Demo: Media type versioning
- 24:50Demo: Path segment versioning
- 26:36Demo: Request header versioning
- 29:07Demo: Query parameter versioning
- 31:16APIs for AI agents
- 34:49MCP protocol and AI
- 39:46Demo: MCP server setup
- 44:02Demo: MCP interaction
- 48:14Demo: Human approval
- 50:46Summary








