Spring Boot OpenAPI Swagger Documentation
Automatic API Documentation
Generate interactive OpenAPI 3 documentation with Swagger UI for REST APIs. Production-ready API specs with request/response examples, security schemes, and validation docs.
Complete Configuration
springdoc.api-docs.enabled=true springdoc.swagger-ui.path=/swagger-ui.html springdoc.paths-to-match=/api/v1/**
Advanced Annotations
- Operation summary and tags
- Request/response examples
- Security requirement docs
- Schema customization
Production Features
- OpenAPI 3.1 specification
- Multiple security schemes
- Export JSON/YAML specs