Skip to content

Commit

Permalink
Fix API error descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
fullben committed Dec 23, 2021
1 parent 94e81fe commit 0c4ff81
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ public ResponseEntity<NewOrderResponse> doNewOrderTransaction(
description = "Data describing the newly created payment"),
@io.swagger.v3.oas.annotations.responses.ApiResponse(
responseCode = "400",
description = "Customer not found")
description = "Neither customer ID nor email were provided")
})
public ResponseEntity<PaymentResponse> doPaymentTransaction(
@PathVariable(name = "warehouseId") @NotBlank String warehouseId,
Expand All @@ -131,7 +131,7 @@ public ResponseEntity<PaymentResponse> doPaymentTransaction(
description = "Data regarding the specified customer and their most recent order"),
@io.swagger.v3.oas.annotations.responses.ApiResponse(
responseCode = "400",
description = "Customer not found")
description = "Neither customer ID nor email were provided")
})
public ResponseEntity<OrderStatusResponse> doOrderStatusTransaction(
@PathVariable(name = "warehouseId") @NotBlank String warehouseId,
Expand Down

0 comments on commit 0c4ff81

Please sign in to comment.