Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 11 additions & 2 deletions gotcha/src/main/java/Gotcha/domain/auth/api/AuthApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,17 @@ ResponseEntity<?> guestSignUp(@Valid @RequestBody SignUpReq signUpReq,
content = @Content(mediaType = "application/json", examples = {
@ExampleObject(name = "일반 로그인 성공", value = """
{
"expiredAt": "2025-04-10T06:57:45",
"accessToken": "Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ0ZXN0QGdtYWlsLmNvbSIsInJvbGUiOiJVU0VSIiwidXNlcklkIjo1LCJpc3MiOiJnb3RjaGEhIiwiaWF0IjoxNzQ0MjY2NDY1LCJleHAiOjE3NDQyNjgyNjV9.u8RTE1VFsxZjQNB_dsc3ibSKqoHQGbC9-ppbOQUvzVY"
"expiredAt": "2025-11-18T15:42:45",
"warningDetails": {
"id": 6,
"targetUserName": "다06fn6",
"adminUserName": "관리자",
"sanctionType": "WARNING",
"reason": "기타. 신고 기록을 참조하세요.",
"expireDuration": 3,
"createdAt": "2025-11-18T01:17:44.151774"
},
"accessToken": "Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiLri6QwNmZuNiIsInJvbGUiOiJVU0VSIiwidXVpZCI6InU1QTJzMmVlIiwiaXNzIjoiZ290Y2hhISIsImlhdCI6MTc2MzQ0NjM2NSwiZXhwIjoxNzYzNDQ4MTY1fQ.7NpE92scRRh8AyMvHrgeuTNL2LlUmYy0phuAL8Apg7w"
}
"""),
@ExampleObject(name = "경고 메시지가 있는 로그인 성공", value = """
Expand Down
5 changes: 4 additions & 1 deletion gotcha/src/main/resources/application.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
spring:
profiles:
active: ${SPRING_PROFILES_ACTIVE:dev}
autoconfigure:
exclude:
- io.awspring.cloud.autoconfigure.s3.S3AutoConfiguration

jpa:
hibernate:
Expand Down Expand Up @@ -59,4 +62,4 @@ server:
address: 0.0.0.0

ai-server:
url: ${AI_SERVER_API:http://localhost:8000/api/v1/}
url: ${AI_SERVER_API:http://localhost:8000/api/v1/}
Loading