awesome-repositories.com
博客
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
springfox avatar

springfox/springfox

0
View on GitHub↗
5,931 星标·1,518 分支·Java·Apache-2.0·2 次浏览springfox.io↗

Springfox

Springfox is a Java library that automatically generates OpenAPI-compliant documentation for Spring-based REST services. It scans Spring controller annotations and model classes at runtime to produce machine-readable API specifications, and bootstraps an interactive Swagger UI interface on application startup for browsing and testing documented endpoints.

The project provides a migration path from Swagger 2 to OpenAPI 3, replacing legacy annotations and dependencies with OpenAPI 3 equivalents through a starter dependency and configuration change. It integrates with Spring's application context and request mapping infrastructure to discover endpoints without manual configuration, and leverages Spring Boot's auto-configuration mechanism for minimal setup.

Springfox uses Java reflection to inspect model fields, types, and annotations for generating accurate API schemas, and converts the internal documentation model into standard OpenAPI JSON structures using Jackson or similar serialization libraries. The library supports both Spring MVC and WebFlux endpoints, producing documentation automatically from annotated controllers without requiring manual specification writing.

Features

  • OpenAPI Specification Generators - Produces OpenAPI-compliant JSON documentation by inspecting Spring MVC and WebFlux endpoints at runtime.
  • Runtime Endpoint Inspectors - Inspects Spring MVC and WebFlux endpoints at runtime to produce OpenAPI JSON documentation.
  • Automated API Documentation - Generates interactive API documentation automatically from Spring controller annotations without manual specification writing.
  • Spec-from-Annotation Generators - Scans Spring controller annotations to automatically produce an OpenAPI-compliant specification.
  • Interactive Documentation Bootstrappers - Bootstraps an interactive Swagger UI interface on application startup for browsing and testing REST endpoints.
  • API Documentation Tools - Generates machine-readable API specifications from Spring annotations without requiring manual documentation effort.
  • Interactive API Documentation UIs - Bootstraps an interactive Swagger UI interface for browsing and testing REST endpoints.
  • API Schema Introspection - Uses Java reflection to inspect model fields and annotations for generating accurate API schemas.
  • Annotation Migration Bridges - Replaces legacy Swagger 2 annotations and dependencies with OpenAPI 3 equivalents through a starter dependency.
  • Annotation Migration Bridges - Provides a migration path from Swagger 2 annotations to OpenAPI 3 equivalents via starter dependency.
  • Documentation Bootstrappers - Leverages Spring Boot auto-configuration to bootstrap Swagger UI and documentation endpoints with minimal setup.
  • Endpoint Discovery Hooks - Hooks into Spring's application context and request mapping to discover endpoints without manual configuration.

Star 历史

springfox/springfox 的 Star 历史图表springfox/springfox 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

用简单的语言描述您的需求 —— AI 将根据相关性为您从数千个精选开源项目中进行排序。

Start searching with AI

常见问题解答

springfox/springfox 是做什么的?

Springfox is a Java library that automatically generates OpenAPI-compliant documentation for Spring-based REST services. It scans Spring controller annotations and model classes at runtime to produce machine-readable API specifications, and bootstraps an interactive Swagger UI interface on application startup for browsing and testing documented endpoints.

springfox/springfox 的主要功能有哪些?

springfox/springfox 的主要功能包括:OpenAPI Specification Generators, Runtime Endpoint Inspectors, Automated API Documentation, Spec-from-Annotation Generators, Interactive Documentation Bootstrappers, API Documentation Tools, Interactive API Documentation UIs, API Schema Introspection。

springfox/springfox 有哪些开源替代品?

springfox/springfox 的开源替代品包括: springdoc/springdoc-openapi — springdoc-openapi is a library and toolset that analyzes Spring applications at runtime to produce machine-readable… zircote/swagger-php — swagger-php is an OpenAPI specification generator and PHP API documentation library. It scans PHP source code… domaindrivendev/swashbuckle.aspnetcore — Swashbuckle.AspNetCore is an API specification tool and documentation generator for ASP.NET Core. It extracts metadata… zipmark/rspec_api_documentation — This project is an automated documentation generator that synchronizes API reference materials with actual code… fern-api/fern — Fern is a toolset for managing API specifications, generating type-safe client libraries, and producing hosted… swagger-api/swagger-core — swagger-core is a set of libraries for parsing, generating, and serializing OpenAPI specifications to automate REST…

Springfox 的开源替代方案

相似的开源项目,按与 Springfox 的功能重合度排序。
  • springdoc/springdoc-openapispringdoc 的头像

    springdoc/springdoc-openapi

    3,674在 GitHub 上查看↗

    springdoc-openapi is a library and toolset that analyzes Spring applications at runtime to produce machine-readable OpenAPI specifications in JSON and YAML formats. It serves as an integrator that extracts API metadata from Java source code and annotations to automate documentation for Spring-based services. The project distinguishes itself through its ability to aggregate API specifications from multiple remote microservices into a single unified interface and provide multiple visualization options, including Swagger UI and Scalar. It also offers a dedicated plugin for exporting documentatio

    Javajavajson-formatkotlin
    在 GitHub 上查看↗3,674
  • zircote/swagger-phpzircote 的头像

    zircote/swagger-php

    5,298在 GitHub 上查看↗

    swagger-php is an OpenAPI specification generator and PHP API documentation library. It scans PHP source code attributes and annotations to produce standardized specification files and interactive API references. The tool functions as a schema inference engine that derives data types and schemas from native PHP type hints and generic blocks. It uses reflection-based static analysis to extract metadata without executing application logic and supports recursive schema inheritance to merge definitions from parent classes and interfaces. The project includes a command-line utility for exporting

    PHP
    在 GitHub 上查看↗5,298
  • domaindrivendev/swashbuckle.aspnetcoredomaindrivendev 的头像

    domaindrivendev/Swashbuckle.AspNetCore

    5,492在 GitHub 上查看↗

    Swashbuckle.AspNetCore is an API specification tool and documentation generator for ASP.NET Core. It extracts metadata from source code and models to produce standardized OpenAPI specifications and interactive browser interfaces for exploring and testing web APIs. The project integrates a middleware component to serve these specifications and a Swagger UI for interactive API testing directly from a running application. It also provides a command-line exporter to extract specification files from application assemblies for use in CI/CD pipelines. The tool covers a wide range of capabilities in

    C#
    在 GitHub 上查看↗5,492
  • fern-api/fernfern-api 的头像

    fern-api/fern

    3,680在 GitHub 上查看↗

    Fern is a toolset for managing API specifications, generating type-safe client libraries, and producing hosted developer documentation. It provides a utility for validating, transforming, and exporting API definitions into standardized OpenAPI formats, serving as a system to maintain a consistent source of truth for API designs. The project differentiates itself through an automated SDK distribution pipeline that publishes generated libraries to package managers such as npm, PyPI, Maven, and NuGet. It also includes an AI-powered search assistant trained on API and SDK specifications to answer

    TypeScript
    在 GitHub 上查看↗3,680
  • 查看 Springfox 的所有 30 个替代方案→