gin-swagger is a Swagger UI middleware for the Gin web framework that serves as an OpenAPI 2.0 documentation generator. It provides an interactive REST API sandbox and a browser-based interface for visualizing API contracts and testing endpoints.
The main features of swaggo/gin-swagger are: API Documentation Hosting, Specification Delivery Endpoints, OpenAPI Specification Visualizers, Interactive API Sandboxes, Contract Visualizations, API Endpoint Testing, Request Interception Middlewares, UI Middleware Hosting.
Open-source alternatives to swaggo/gin-swagger include: domaindrivendev/swashbuckle.aspnetcore — Swashbuckle.AspNetCore is an API specification tool and documentation generator for ASP.NET Core. It extracts metadata… springdoc/springdoc-openapi — springdoc-openapi is a library and toolset that analyzes Spring applications at runtime to produce machine-readable… go-swagger/go-swagger — go-swagger is a toolkit for working with Swagger/OpenAPI 2.0 specifications in Go. It generates server, client, and… flasgger/flasgger — Flasgger is a documentation framework for Flask applications that generates OpenAPI specifications and an integrated… goadmingroup/go-admin — go-admin is a framework for generating administrative interfaces and data visualization dashboards using the Go… ricosuter/nswag — NSwag is an OpenAPI toolchain for .NET that provides a suite of generators for converting OpenAPI specifications and…
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
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
go-swagger is a toolkit for working with Swagger/OpenAPI 2.0 specifications in Go. It generates server, client, and CLI code from a specification document, and can also produce a specification by scanning annotated Go source code. The project includes a static validation engine that checks documents against the schema and project-specific rules, and a specification transformation pipeline that resolves, flattens, and merges documents. The toolkit generates both client and server code from the same specification, ensuring consistency in request and response handling. It also produces a command
Flasgger is a documentation framework for Flask applications that generates OpenAPI specifications and an integrated Swagger UI. It functions as a documentation generator and specification parser that extracts API schemas from route definitions, function docstrings, and external specification files. The tool allows API definitions to be maintained either within the source code using YAML blocks in docstrings or decoupled into standalone YAML files. It provides a browser-based interactive console for testing and exploring API endpoints directly from the web application. Beyond documentation,