Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .run/SpringbootApplication.run.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="SpringbootApplication" type="Application" factoryName="Application" nameIsGenerated="true">
<option name="MAIN_CLASS_NAME" value="com.example.springboot.SpringbootApplication" />
<module name="SpringBoot_API-REST" />
<module name="springboot_api_REST" />
<extension name="coverage">
<pattern>
<option name="PATTERN" value="com.example.springboot.*" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public ResponseEntity<?> saveProduct(@RequestBody @Valid ProductRecordDto produc
return ResponseEntity.status(HttpStatus.CREATED).body(productRepository.save(productModel));
}

@Operation(summary = "Calls all products in the bank and returns the list of products with their respective individual URLs")
@Operation(summary = "Calls all products in the bank and returns the list of products separated by a category list")
@GetMapping({"","/"})
public ResponseEntity<?> getAllProductsByCategory(){
List<ProductModel> productsList = productRepository.findAll();
Expand Down