GuicedEE Swagger UI
Browsable Swagger UI for the GuicedEE / Vert.x stack.
Core Concept
Add the dependency and a fully functional Swagger UI is mounted at /swagger/ automatically — it reads from your /openapi.json endpoint out of the box, with zero code required.
Required Flow
- Add
com.guicedee:guiced-swagger-uidependency (pair withopenapifor spec generation):<dependency> <groupId>com.guicedee</groupId> <artifactId>swagger-ui</artifactId> </dependency> <dependency> <groupId>com.guicedee</groupId> <artifactId>openapi</artifactId> </dependency> - Configure
module-info.java:module my.app { requires com.guicedee.swaggerui; requires com.guicedee.openapi; // for spec generation } - Bootstrap GuicedEE — Swagger UI is available automatically:
IGuiceContext.registerModuleForScanning.add("my.app"); IGuiceContext.instance().inject(); // Browse to http://localhost:8080/swagger/
Features
- Auto-mounted at
/swagger/viaVertxRouterConfiguratorSPI - Reads
/openapi.jsonendpoint by default - Fully bundled Swagger UI static assets served from the module
- Zero configuration required
Non-Negotiable Constraints
- Module must
requires com.guicedee.swaggerui;. - Pair with
openapimodule for automatic spec generation. - Requires the
webmodule for HTTP server (pulled in transitively). - The module is registered automatically — no
providesneeded.