Skip to content

Commit

Permalink
[readme] added endpoints and hided model info
Browse files Browse the repository at this point in the history
  • Loading branch information
Oleksandr-Tymoshenko committed Dec 1, 2023
1 parent 43c3f94 commit c9e2a59
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Binary file modified README.md
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
@Controller
@Validated
@RequiredArgsConstructor
@RequestMapping("/payments")
@RequestMapping("/api/payments")
@Tag(name = "Payment management", description = "Endpoints for managing payments")
public class PaymentController {
private final PaymentService paymentService;
Expand All @@ -45,7 +45,7 @@ public List<PaymentDto> getAll(@PageableDefault(page = 0, size = 10) Pageable pa

@ResponseBody
@PreAuthorize("hasRole('CUSTOMER')")
@GetMapping("/search")
@GetMapping("/search/")
@Operation(summary = "Get all payments by status",
description = """
Get all payments by status (PAID/PENDING/CANCELED) for user,
Expand Down

0 comments on commit c9e2a59

Please sign in to comment.