Skip to content

Commit

Permalink
fix: update species list api
Browse files Browse the repository at this point in the history
  • Loading branch information
svifty7 committed Nov 15, 2024
1 parent 410f856 commit 5dcc56a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
public class SpeciesController {
private final SpeciesService speciesService;

@GetMapping("species")
@PostMapping
@Operation(summary = "Получение всех видов", description = "Виды будут не детальные, будет возвращать списков с указанным имени и урл")
public ResponseEntity<List<SpeciesDto>> getAllSpecies() {
return ResponseEntity.ok(speciesService.getAllSpecies());
Expand Down

0 comments on commit 5dcc56a

Please sign in to comment.