Skip to content

Commit

Permalink
Se continua comentando las anotaciones swagger del método homt
Browse files Browse the repository at this point in the history
  • Loading branch information
andres-brinez committed Oct 26, 2023
1 parent 77c5fe8 commit 2a6f1cf
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,12 +72,12 @@ public HomeController(CuentaJPARepository cuentaJPARepository, BolsilloJPAReposi
}


@Operation(summary = "Página de inicio", description = "Muestra la página de inicio con la información de la cuenta y los bolsillos del usuario logeado")
/* @Operation(summary = "Página de inicio", description = "Muestra la página de inicio con la información de la cuenta y los bolsillos del usuario logeado")
@ApiResponses(value = {
@ApiResponse(responseCode = "200", description = "Página de inicio mostrada correctamente", content = @Content(mediaType = "text/html", examples = @ExampleObject(value = "<html><body><h1>Información cuenta</h1></body></html>"))),
@ApiResponse(responseCode = "401", description = "No se ha iniciado sesión", content = @Content(mediaType = "text/html", examples = @ExampleObject(value = "<html><body><h1>Iniciar sesión</h1></body></html>"))),
@ApiResponse(responseCode = "403", description = "Acceso denegado", content = @Content(mediaType = "text/html", examples = @ExampleObject(value = "<html><body><h1>Acceso denegado</h1></body></html>"))),
})
})*/
// @Parameter(description = "Mensaje a mostrar en la página de inicio", example = "Cuenta creada correctamente")
@GetMapping("/home")
public String home( Model model,HttpServletRequest request, @ModelAttribute("mensaje") String mensajeRecibido) {
Expand Down

0 comments on commit 2a6f1cf

Please sign in to comment.