replace Swagger() with SwaggerUI()
})
...;
- new Swagger().install(this);
+ new SwaggerUI().install(this);
}
```
@@ -74,7 +74,7 @@ The ```path``` option controls where to mount the {{swagger}} routes:
{
...
- new Swagger("docs").install(this);
+ new SwaggerUI("docs").install(this);
}
```
@@ -89,7 +89,7 @@ The ```filter``` option controls what is exported to {{swagger}}:
{
...
- new Swagger()
+ new SwaggerUI()
.filter(route -> {
return route.pattern().startsWith("/api");
})
