Skip to content

Commit faa110c

Browse files
authored
Merge pull request #631 from pabl0rg/patch-2
replace Swagger() with SwaggerUI()
2 parents f5ee206 + 8692f1c commit faa110c

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

md/doc/swagger/swagger.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
})
3636
...;
3737

38-
new Swagger().install(this);
38+
new SwaggerUI().install(this);
3939

4040
}
4141
```
@@ -74,7 +74,7 @@ The ```path``` option controls where to mount the {{swagger}} routes:
7474
{
7575
...
7676

77-
new Swagger("docs").install(this);
77+
new SwaggerUI("docs").install(this);
7878

7979
}
8080
```
@@ -89,7 +89,7 @@ The ```filter``` option controls what is exported to {{swagger}}:
8989
{
9090
...
9191

92-
new Swagger()
92+
new SwaggerUI()
9393
.filter(route -> {
9494
return route.pattern().startsWith("/api");
9595
})

0 commit comments

Comments
 (0)