Added swagger path filter

This commit is contained in:
2021-04-28 12:14:54 +02:00
parent a5e0cee285
commit f2d56a48d2
4 changed files with 2 additions and 2 deletions

View File

@@ -16,7 +16,7 @@ public class SpringFoxConfig {
return new Docket(DocumentationType.SWAGGER_2)
.select()
.apis(RequestHandlerSelectors.any())
.paths(PathSelectors.any())
.paths(PathSelectors.ant("/api/**"))
.build();
}
}

View File

@@ -10,7 +10,7 @@ import org.springframework.stereotype.Component;
@Generated(
value = "org.mapstruct.ap.MappingProcessor",
date = "2021-04-16T17:13:18+0200",
date = "2021-04-27T12:11:44+0200",
comments = "version: 1.3.1.Final, compiler: javac, environment: Java 14.0.1 (Oracle Corporation)"
)
@Component