Interface PlayersApi

All Known Implementing Classes:
PlayersController

@Generated(value="io.swagger.codegen.v3.generators.java.SpringCodegen", date="2025-05-03T17:58:20.830298669Z[Etc/UTC]") @Validated public interface PlayersApi
  • Field Details

    • log

      static final org.slf4j.Logger log
  • Method Details

    • getObjectMapper

      Optional<com.fasterxml.jackson.databind.ObjectMapper> getObjectMapper()
    • getRequest

      Optional<jakarta.servlet.http.HttpServletRequest> getRequest()
    • deactivatePlayer

      @RequestMapping(value="/players/{id}", produces="application/json", method=DELETE) org.springframework.http.ResponseEntity<Void> deactivatePlayer(@Min(1L) @PathVariable("id") @Min(1L) Integer id)
    • findPlayers

      @RequestMapping(value="/players", produces="application/json", method=GET) org.springframework.http.ResponseEntity<List<Player>> findPlayers(@Valid @RequestParam(value="email",required=false) @Valid String email)
    • loadPlayer

      @RequestMapping(value="/players/{id}", produces="application/json", method=GET) org.springframework.http.ResponseEntity<Player> loadPlayer(@Min(1L) @PathVariable("id") @Min(1L) Integer id)
    • updatePlayer

      @RequestMapping(value="/players/{id}", produces="application/json", consumes="application/json", method=PUT) org.springframework.http.ResponseEntity<Void> updatePlayer(@Min(1L) @PathVariable("id") @Min(1L) Integer id, @Valid @RequestBody @Valid PlayerForm body)