File tree Expand file tree Collapse file tree 3 files changed +6
-0
lines changed
src/main/java/com/answerdigital/academy/answerking/controller Expand file tree Collapse file tree 3 files changed +6
-0
lines changed Original file line number Diff line number Diff line change 99import io .swagger .v3 .oas .annotations .media .Schema ;
1010import io .swagger .v3 .oas .annotations .responses .ApiResponse ;
1111import io .swagger .v3 .oas .annotations .responses .ApiResponses ;
12+ import io .swagger .v3 .oas .annotations .tags .Tag ;
1213import org .springframework .beans .factory .annotation .Autowired ;
1314import org .springframework .http .HttpStatus ;
1415import org .springframework .http .ResponseEntity ;
2930import java .util .Set ;
3031
3132@ Validated
33+ @ Tag (name = "Categories" , description = "The Categories API" )
3234@ RestController
3335@ RequestMapping (path = "/categories" )
3436public class CategoryController {
Original file line number Diff line number Diff line change 33import com .answerdigital .academy .answerking .model .Order ;
44import com .answerdigital .academy .answerking .request .OrderRequest ;
55import com .answerdigital .academy .answerking .service .OrderService ;
6+ import io .swagger .v3 .oas .annotations .tags .Tag ;
67import org .springframework .beans .factory .annotation .Autowired ;
78import org .springframework .http .HttpStatus ;
89import org .springframework .http .ResponseEntity ;
2223import java .util .List ;
2324
2425@ Validated
26+ @ Tag (name = "Orders" , description = "The Orders API" )
2527@ RestController
2628@ RequestMapping (path = "/orders" )
2729public class OrderController {
Original file line number Diff line number Diff line change 33import com .answerdigital .academy .answerking .model .Product ;
44import com .answerdigital .academy .answerking .request .ProductRequest ;
55import com .answerdigital .academy .answerking .service .ProductService ;
6+ import io .swagger .v3 .oas .annotations .tags .Tag ;
67import org .springframework .beans .factory .annotation .Autowired ;
78import org .springframework .http .HttpStatus ;
89import org .springframework .http .ResponseEntity ;
2122import java .util .List ;
2223
2324@ Validated
25+ @ Tag (name = "Products" , description = "The Products API" )
2426@ RestController
2527@ RequestMapping (path = "/products" )
2628public class ProductController {
You can’t perform that action at this time.
0 commit comments