File tree Expand file tree Collapse file tree
rentplace/src/main/java/kattsyn/dev/rentplace/dtos Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11package kattsyn .dev .rentplace .dtos ;
22
3- import com . fasterxml . jackson . annotation . JsonIgnore ;
3+ import io . swagger . v3 . oas . annotations . media . Schema ;
44import lombok .AllArgsConstructor ;
55import lombok .Getter ;
66import lombok .NoArgsConstructor ;
1212@ NoArgsConstructor
1313public class JwtResponse {
1414
15+ @ Schema (example = "Bearer " )
1516 private final String type = "Bearer " ;
17+ @ Schema (example = "eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJ3YXJzaGFyZDEzMzdAZ21haWwuY29tIiwiZXhwIjoxNzQ2MzA1ODEzLCJyb2xlIjoiUk9MRV9B211JTiIsIm5hbWUiOiJhZG1pbiJ9.4Rg7E39Y4baT9Eld_pkvH0D6S72eepmyd17Ch44K5Fikw32BSbXsnVq4EOnXJgXsQkmkhZrGDHZh-cSGg7pLPg" )
1618 private String accessToken ;
1719
1820 //@JsonIgnore
21+ @ Schema (example = "eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJ3YXJzaGFyZDEzMzdAZ21haWwuY29tIiwiZXhwIjoxNzQ2MzA1ODEzLCJyb2xlIjoiUk9MRV9Bda1JTiIsIm5hbWUiOiJhZG1pbiJ9.4Rg7E39Y4baT9Eld_pkvH0D6S72eepmydCLCh44K5FikwkdBSbXsnVq4EOnXJgXsQkmkhZrGDHZh-cSGg7pLPg" )
1922 private String refreshToken ;
2023
2124}
You can’t perform that action at this time.
0 commit comments