changed the filter on urls for swagger

This commit is contained in:
Michele Artini 2022-06-01 07:46:32 +02:00
parent 19010a9624
commit 4d066e3d77
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ public class MainApplication extends AbstractDnetApp {
.pathMapping(swaggerPath)
.select()
.apis(RequestHandlerSelectors.any())
.paths(p -> p.startsWith("/mdstores"))
.paths(p -> p.contains("/mdstores"))
.build()
.apiInfo(new ApiInfoBuilder()
.title("MDStore Manager APIs")