Commit 7ac0ac7d authored by Vijay Akula's avatar Vijay Akula

Added swagger configuraton only to view app controllers

parent 16308623
......@@ -18,8 +18,9 @@ public class SwaggerConfig {
public Docket api() {
return new Docket(DocumentationType.SWAGGER_2)
.select()
.apis(RequestHandlerSelectors.any())
.paths(PathSelectors.any())
//.apis(RequestHandlerSelectors.any())
.apis(RequestHandlerSelectors.basePackage("com.nisum.myteam.controller"))
.paths(PathSelectors.any())
.build();
}
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment