-
Notifications
You must be signed in to change notification settings - Fork 240
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes with getting characters from database.
- Loading branch information
1 parent
690b878
commit 2c59958
Showing
2 changed files
with
6 additions
and
21 deletions.
There are no files selected for viewing
8 changes: 1 addition & 7 deletions
8
src/main/java/mate/academy/rickandmorty/dto/external/CharactersInfoDto.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,4 @@ | ||
package mate.academy.rickandmorty.dto.external; | ||
|
||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
import lombok.Data; | ||
|
||
@Data | ||
public class CharactersInfoDto { | ||
@JsonProperty("pages") | ||
private int numberOfPages; | ||
public record CharactersInfoDto(String next) { | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters