Skip to content

Commit

Permalink
add ProductServiceTest
Browse files Browse the repository at this point in the history
  • Loading branch information
BlenoClaus authored and blenohclaus committed May 20, 2024
1 parent 8dafd3f commit 83fb6ac
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ interface ProductAPI {
): ResponseEntity<List<ProductResponse>>

@Operation(
summary = "Cadastra produto",
summary = "Cadastra um novo produto",
parameters = [
Parameter(
name = "x-admin-token",
Expand All @@ -122,6 +122,7 @@ interface ProductAPI {
value = [
ApiResponse(responseCode = "200", description = "Operação bem-sucedida"),
ApiResponse(responseCode = "422", description = "Produto inválido"),
ApiResponse(responseCode = "500", description = "Erro não esperado"),
],
)
@PostMapping()
Expand Down

0 comments on commit 83fb6ac

Please sign in to comment.