spring-boot-openapi-documentation

Installation
Summary

Automated OpenAPI 3.0 documentation generation for Spring Boot 3.x REST APIs with Swagger UI.

  • Integrates SpringDoc to auto-generate OpenAPI specs from annotated controllers, models, and validation rules without manual configuration
  • Supports JWT Bearer, OAuth2, and Basic Auth security documentation with global scheme configuration and per-endpoint security requirements
  • Includes comprehensive annotation patterns for documenting endpoints, request/response bodies, parameters, error responses, and pageable queries
  • Provides Swagger UI customization, multi-API grouping, build-time spec generation via Maven/Gradle plugins, and best practices for schema design and constraint documentation
SKILL.md

Spring Boot OpenAPI Documentation with SpringDoc

Overview

SpringDoc OpenAPI automates generation of OpenAPI 3.0 documentation for Spring Boot projects with a Swagger UI web interface for exploring and testing APIs.

When to Use

  • Set up SpringDoc OpenAPI in Spring Boot 3.x projects
  • Generate OpenAPI 3.0 specifications for REST APIs
  • Configure and customize Swagger UI
  • Add detailed API documentation with annotations
  • Document request/response models with validation
  • Implement API security documentation (JWT, OAuth2, Basic Auth)
  • Document pageable and sortable endpoints
  • Add examples and schemas to API endpoints
  • Customize OpenAPI definitions programmatically
  • Support multiple API groups and versions
  • Document error responses and exception handlers
Related skills

More from giuseppe-trisciuoglio/developer-kit

Installs
1.0K
GitHub Stars
246
First Seen
Feb 3, 2026