Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Dropwizard
  3. dropwizard-swagger

dropwizard-swagger

Apache-2.0Java

A Dropwizard bundle that serves Swagger UI static content and loads Swagger endpoints for API documentation.

GitHubGitHub
181 stars98 forks0 contributors

What is dropwizard-swagger?

Dropwizard-swagger is a Dropwizard bundle that integrates Swagger UI into Dropwizard-based applications. It serves Swagger UI static content and automatically loads Swagger endpoints from annotated resources, providing interactive API documentation directly within the application. This solves the problem of manually setting up and maintaining separate API documentation interfaces for Dropwizard REST APIs.

Target Audience

Java developers building RESTful APIs with Dropwizard who need integrated, interactive API documentation. Backend engineers and teams maintaining Dropwizard-based microservices.

Value Proposition

Developers choose dropwizard-swagger because it provides seamless, out-of-the-box integration of Swagger UI with Dropwizard, eliminating manual setup. Its tight integration with Dropwizard's configuration system and automatic endpoint discovery makes API documentation maintenance effortless.

Overview

a Dropwizard bundle that serves Swagger UI static content and loads Swagger endpoints.

Use Cases

Best For

  • Adding interactive API documentation to Dropwizard REST services
  • Automating Swagger UI setup for Dropwizard applications
  • Providing self-contained API exploration interfaces within microservices
  • Maintaining API documentation synchronized with code annotations
  • Testing REST endpoints directly through a web interface
  • Simplifying API documentation for Dropwizard-based backend systems

Not Ideal For

  • Projects using Spring Boot or other Java frameworks instead of Dropwizard
  • Teams requiring OpenAPI 3.0 support without Swagger UI's limitations
  • Applications where minimizing external dependencies is critical to avoid bundle overhead
  • Environments needing server-side rendered API documentation without JavaScript reliance

Pros & Cons

Pros

Seamless Dropwizard Integration

Serves Swagger UI static content directly within the Dropwizard application, eliminating manual setup as described in the README's bundle approach.

Automatic Endpoint Discovery

Loads Swagger endpoints from @Api annotated resources automatically, ensuring documentation stays synchronized with code without extra effort.

Flexible Configuration Options

Offers customizable Swagger properties through SwaggerBundleConfiguration, allowing detailed tuning of UI behavior and appearance.

Swagger 2 Support

Compatible with Swagger 2 specification using relative URLs, simplifying deployment without hardcoded host and port settings as noted in the README.

Cons

Version Dependency Risks

Tightly coupled to specific Dropwizard and Swagger API versions per the compatibility matrix, which can complicate upgrades or cause conflicts in diverse environments.

Admitted Swagger 2 Instability

The README warns that host and port configurations might need adjustments for Swagger 2, indicating potential setup quirks and incomplete robustness.

Intrusive Setup Requirements

Requires modifications to Configuration classes and YAML files, adding overhead and complexity compared to lighter-weight documentation solutions.

Frequently Asked Questions

Quick Stats

Stars181
Forks98
Contributors0
Open Issues0
Last commit9 months ago
CreatedSince 2015

Tags

#rest-api#swagger#java#dropwizard#bundle#openapi#api-documentation#backend#swagger-ui

Built With

S
Swagger UI
D
Dropwizard
J
Java

Included in

Dropwizard102
Auto-fetched 1 day ago

Related Projects

tenacitytenacity

Dropwizard + Hystrix Module.

Stars204
Forks37
Last commit2 years ago
breakerboxbreakerbox

Frontend for Tenacity + Archaius

Stars65
Forks29
Last commit7 years ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub