springdoc/springdoc-openapi
Library for OpenAPI 3 with spring-boot observed · 2026-08-28
Health v2 · maintenance only
97/100
- Activity 98
- Release rhythm 95
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 13
- age_days: 2610
- days_rel: 32
- days_push: 12
- n_releases_24m: 26
Adoption not part of the score
3737 stars · 601 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
springdoc-openapi is a Java library that automatically generates OpenAPI 3 API documentation for Spring Boot applications, with built-in Swagger UI and Scalar integration. It supports Spring WebMvc, WebFlux, Spring Security, Spring Data REST, Hateoas, Kotlin, and now exposes Spring REST endpoints as MCP tools for AI agents.
Use cases
- generate openapi 3 spec from spring boot controllers
- add swagger ui to a spring boot rest api
- document spring webflux endpoints automatically
- migrate from springfox to openapi 3
- expose spring boot rest api as mcp tools for ai agents
- generate api docs in json and yaml from spring mvc
- secure and document oauth2 apis with spring security
When to choose
- you have a Spring Boot (MVC or WebFlux) REST API and want auto-generated OpenAPI 3 docs
- you want an embedded Swagger UI or Scalar viewer with minimal configuration
- you need Spring Security, Data REST, Hateoas, or Actuator-aware API documentation
- you want to expose your Spring endpoints as MCP tools with guardrails for AI agents
When to avoid
- your backend is not Spring-based (use framework-native OpenAPI tools instead)
- you need OpenAPI 2.0/Swagger 2.0 output rather than OpenAPI 3
- you want hand-authored, fully controlled API specs rather than code-first generation
Facets
library · maturity stable
api-documentation documentation mcp middleware apis web-development backend documentation developer-tools jvm self-hosted openapi swagger-ui spring-boot rest-api api-specification spring-webflux spring-security springdoc ai-agents spring
3 sources
- readme: https://github.com/springdoc/springdoc-openapi · fetched 2026-08-28 · f73cc53627a7
- homepage: https://springdoc.org · fetched 2026-08-29 · 161cb9d7fe7b
- site_page: https://springdoc.org/index.html · fetched 2026-08-29 · 161cb9d7fe7b
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| springdoc/springdoc-openapi | main | 97 |
For agents
markdown · JSON · MCP: product_card(name="springdoc/springdoc-openapi")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem