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

Added swagger configuraton only to view app controllers

parent 16308623
...@@ -18,7 +18,8 @@ public class SwaggerConfig { ...@@ -18,7 +18,8 @@ public class SwaggerConfig {
public Docket api() { public Docket api() {
return new Docket(DocumentationType.SWAGGER_2) return new Docket(DocumentationType.SWAGGER_2)
.select() .select()
.apis(RequestHandlerSelectors.any()) //.apis(RequestHandlerSelectors.any())
.apis(RequestHandlerSelectors.basePackage("com.nisum.myteam.controller"))
.paths(PathSelectors.any()) .paths(PathSelectors.any())
.build(); .build();
} }
......
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