xiaoymin/knife4j
Knife4j is a set of Swagger2 and OpenAPI3 All-in-one enhancement solution observed · 2026-08-28
Health v2 · maintenance only
52/100
- Activity 65
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3423
- days_rel: n/a
- days_push: 211
- n_releases_24m: 0
Adoption not part of the score
4577 stars · 681 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Knife4j is an all-in-one enhancement solution for Swagger2 (OpenAPI2) and OpenAPI3 in the Java/Spring ecosystem, providing an improved API documentation UI plus Spring Boot starters built on springfox and springdoc-openapi. It also ships middleware for aggregating OpenAPI documents across microservices, including a gateway component and a standalone Docker-deployable viewer (Knife4jInsight).
Use cases
- generate swagger api docs for spring boot
- better swagger ui alternative for java
- aggregate openapi docs across microservices
- view openapi3 spec in a nicer ui
- integrate api documentation with spring cloud gateway
- export and customize api documentation with i18n and sorting
When to choose
- you have a Java Spring Boot or Spring MVC project needing Swagger2/OpenAPI3 docs
- you want an enhanced UI with debugging, sorting, i18n, and export beyond default swagger-ui
- you need to aggregate OpenAPI documents from multiple microservices or a gateway
When to avoid
- your stack is not JVM/Spring based
- you only need a minimal spec viewer without Spring integration
- you rely on the latest springfox 3.x features, since Knife4j pins springfox 2.10.5 and pushes OpenAPI3/springdoc
Facets
framework · maturity active
api-framework api-documentation ui-components middleware apis web-development backend documentation developer-tools jvm self-hosted swagger openapi spring-boot springdoc springfox api-docs-ui microservices-aggregation spring docker
10 sources
- readme: https://github.com/xiaoymin/knife4j · fetched 2026-08-28 · 3bef5340ecf5
- homepage: https://doc.xiaominfo.com · fetched 2026-08-29 · a5eb91058ac2
- site_page: https://doc.xiaominfo.com/docs/quick-start · fetched 2026-08-29 · 814e4ddb5c68
- site_page: https://doc.xiaominfo.com/docs/middleware-sources · fetched 2026-08-29 · 923e0510d880
- site_page: https://doc.xiaominfo.com/docs/blog · fetched 2026-08-29 · e14055b4cefd
- site_page: https://doc.xiaominfo.com/docs/action · fetched 2026-08-29 · 567eb2cc488d
- site_page: https://doc.xiaominfo.com/docs/changelog · fetched 2026-08-29 · 6156acfbd6a1
- site_page: https://doc.xiaominfo.com/docs/faq · fetched 2026-08-29 · ee0fe61e6a82
- site_page: https://doc.xiaominfo.com/docs/community/simple-demo · fetched 2026-08-29 · 641e181a54f4
- site_page: https://doc.xiaominfo.com/docs/upgrading/upgrading-to-v4 · fetched 2026-08-29 · 375278c22ccf
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| xiaoymin/knife4j | main | 52 |
For agents
markdown · JSON · MCP: product_card(name="xiaoymin/knife4j")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem