Skip to content

Commit 9816e6e

Browse files
committed
fix: swagger-spec.js URL 및 데이터 타임스탬프 수정, version 변경 (issue #123)
1 parent d62c197 commit 9816e6e

File tree

2 files changed

+21
-21
lines changed

2 files changed

+21
-21
lines changed

app/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ swaggerSources {
9898

9999
openapi3 {
100100
// this.setServer("http://localhost:8081/")
101-
this.setServer("https://dev.grow-it.me/")
101+
this.setServer("https://api.grow-it.me/")
102102
title = "GrowIT API Specification"
103103
description = "GrowIT description"
104104
version = project.version.toString()

app/src/main/resources/static/docs/swagger-spec.js

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ window.swaggerSpec={
66
"version" : "0.0.3"
77
},
88
"servers" : [ {
9-
"url" : "http://localhost:8081/"
9+
"url" : "https://api.grow-it.me/"
1010
} ],
1111
"tags" : [ ],
1212
"paths" : {
@@ -35,7 +35,7 @@ window.swaggerSpec={
3535
},
3636
"examples" : {
3737
"get-chat-advice-status" : {
38-
"value" : "{\n \"data\" : {\n \"remainingCount\" : 3,\n \"conversations\" : [ {\n \"userMessage\" : \"계기가 뭐야?\",\n \"grorongResponse\" : \"그로롱 답변\",\n \"timestamp\" : \"2025-12-27T15:27:22.001319\"\n } ],\n \"isGoalOnboardingCompleted\" : false\n }\n}"
38+
"value" : "{\n \"data\" : {\n \"remainingCount\" : 3,\n \"conversations\" : [ {\n \"userMessage\" : \"계기가 뭐야?\",\n \"grorongResponse\" : \"그로롱 답변\",\n \"timestamp\" : \"2026-01-03T11:47:21.907072\"\n } ],\n \"isGoalOnboardingCompleted\" : false\n }\n}"
3939
}
4040
}
4141
}
@@ -72,7 +72,7 @@ window.swaggerSpec={
7272
},
7373
"examples" : {
7474
"send-chat-advice" : {
75-
"value" : "{\n \"data\" : {\n \"remainingCount\" : 2,\n \"conversations\" : [ {\n \"userMessage\" : \"목표 달성 힘드네\",\n \"grorongResponse\" : \"전략적인 답변\",\n \"timestamp\" : \"2025-12-27T15:27:21.388445\"\n } ],\n \"isGoalOnboardingCompleted\" : true\n }\n}"
75+
"value" : "{\n \"data\" : {\n \"remainingCount\" : 2,\n \"conversations\" : [ {\n \"userMessage\" : \"목표 달성 힘드네\",\n \"grorongResponse\" : \"전략적인 답변\",\n \"timestamp\" : \"2026-01-03T11:47:21.279723\"\n } ],\n \"isGoalOnboardingCompleted\" : true\n }\n}"
7676
}
7777
}
7878
}
@@ -327,7 +327,7 @@ window.swaggerSpec={
327327
},
328328
"examples" : {
329329
"get-goal-retrospects-by-year" : {
330-
"value" : "{\n \"data\" : [ {\n \"goal\" : {\n \"id\" : \"goal-1\",\n \"name\" : \"테스트 목표\",\n \"duration\" : {\n \"startDate\" : \"2025-12-22\",\n \"endDate\" : \"2025-12-28\"\n }\n },\n \"goalRetrospect\" : {\n \"id\" : \"9PGzGYqFtetK9CBHvr8Xe\",\n \"isCompleted\" : true\n }\n } ]\n}"
330+
"value" : "{\n \"data\" : [ {\n \"goal\" : {\n \"id\" : \"goal-1\",\n \"name\" : \"테스트 목표\",\n \"duration\" : {\n \"startDate\" : \"2025-12-29\",\n \"endDate\" : \"2026-01-04\"\n }\n },\n \"goalRetrospect\" : {\n \"id\" : \"EH1Ldpdm8Iy3GJmmD_E9Q\",\n \"isCompleted\" : true\n }\n } ]\n}"
331331
}
332332
}
333333
}
@@ -398,7 +398,7 @@ window.swaggerSpec={
398398
},
399399
"examples" : {
400400
"get-goal-retrospect" : {
401-
"value" : "{\n \"data\" : {\n \"id\" : \"_mcx1Iiz_8ERgf9XNcwfY\",\n \"goalId\" : \"goalId\",\n \"todoCompletedRate\" : 25,\n \"analysis\" : {\n \"summary\" : \"GROWIT MVP 개발과 서비스 기획을 병행하며 4주 목표를 달성\",\n \"advice\" : \"모든 활동이 한 가지 핵심 가치에 연결되도록 중심축을 명확히 해보라냥!\"\n },\n \"content\" : \"이번 달 나는 '나만의 의미 있는 일'을 찾기 위해 다양한 프로젝트와 리서치에 몰입했다...\"\n }\n}"
401+
"value" : "{\n \"data\" : {\n \"id\" : \"KiC1jMrgGC4S-5QUKLKDV\",\n \"goalId\" : \"goalId\",\n \"todoCompletedRate\" : 25,\n \"analysis\" : {\n \"summary\" : \"GROWIT MVP 개발과 서비스 기획을 병행하며 4주 목표를 달성\",\n \"advice\" : \"모든 활동이 한 가지 핵심 가치에 연결되도록 중심축을 명확히 해보라냥!\"\n },\n \"content\" : \"이번 달 나는 '나만의 의미 있는 일'을 찾기 위해 다양한 프로젝트와 리서치에 몰입했다...\"\n }\n}"
402402
}
403403
}
404404
}
@@ -466,7 +466,7 @@ window.swaggerSpec={
466466
},
467467
"examples" : {
468468
"get-my-goals" : {
469-
"value" : "{\n \"data\" : [ {\n \"id\" : \"goal-1\",\n \"name\" : \"테스트 목표\",\n \"planet\" : {\n \"name\" : \"Earth\",\n \"image\" : {\n \"done\" : \"/images/earth_done.png\",\n \"progress\" : \"/images/earth_progress.png\"\n }\n },\n \"duration\" : {\n \"startDate\" : \"2025-12-22\",\n \"endDate\" : \"2025-12-28\"\n },\n \"status\" : \"PROGRESS\",\n \"analysis\" : {\n \"todoCompletedRate\" : 75,\n \"summary\" : \"목표가 순조롭게 진행되고 있습니다.\"\n },\n \"isChecked\" : false\n } ]\n}"
469+
"value" : "{\n \"data\" : [ {\n \"id\" : \"goal-1\",\n \"name\" : \"테스트 목표\",\n \"planet\" : {\n \"name\" : \"Earth\",\n \"image\" : {\n \"done\" : \"/images/earth_done.png\",\n \"progress\" : \"/images/earth_progress.png\"\n }\n },\n \"duration\" : {\n \"startDate\" : \"2025-12-29\",\n \"endDate\" : \"2026-01-04\"\n },\n \"status\" : \"PROGRESS\",\n \"analysis\" : {\n \"todoCompletedRate\" : 75,\n \"summary\" : \"목표가 순조롭게 진행되고 있습니다.\"\n },\n \"isChecked\" : false\n } ]\n}"
470470
}
471471
}
472472
}
@@ -487,7 +487,7 @@ window.swaggerSpec={
487487
},
488488
"examples" : {
489489
"create-goal" : {
490-
"value" : "{\n \"name\" : \"내 목표는 그로잇 완성\",\n \"duration\" : {\n \"startDate\" : \"2025-12-29\",\n \"endDate\" : \"2026-01-25\"\n }\n}"
490+
"value" : "{\n \"name\" : \"내 목표는 그로잇 완성\",\n \"duration\" : {\n \"startDate\" : \"2026-01-05\",\n \"endDate\" : \"2026-02-01\"\n }\n}"
491491
}
492492
}
493493
}
@@ -537,7 +537,7 @@ window.swaggerSpec={
537537
},
538538
"examples" : {
539539
"get-my-goal" : {
540-
"value" : "{\n \"data\" : {\n \"id\" : \"goal-1\",\n \"name\" : \"테스트 목표\",\n \"planet\" : {\n \"name\" : \"Earth\",\n \"image\" : {\n \"done\" : \"/images/earth_done.png\",\n \"progress\" : \"/images/earth_progress.png\"\n }\n },\n \"duration\" : {\n \"startDate\" : \"2025-12-22\",\n \"endDate\" : \"2025-12-28\"\n },\n \"status\" : \"PROGRESS\",\n \"analysis\" : {\n \"todoCompletedRate\" : 75,\n \"summary\" : \"목표가 순조롭게 진행되고 있습니다.\"\n },\n \"isChecked\" : false\n }\n}"
540+
"value" : "{\n \"data\" : {\n \"id\" : \"goal-1\",\n \"name\" : \"테스트 목표\",\n \"planet\" : {\n \"name\" : \"Earth\",\n \"image\" : {\n \"done\" : \"/images/earth_done.png\",\n \"progress\" : \"/images/earth_progress.png\"\n }\n },\n \"duration\" : {\n \"startDate\" : \"2025-12-29\",\n \"endDate\" : \"2026-01-04\"\n },\n \"status\" : \"PROGRESS\",\n \"analysis\" : {\n \"todoCompletedRate\" : 75,\n \"summary\" : \"목표가 순조롭게 진행되고 있습니다.\"\n },\n \"isChecked\" : false\n }\n}"
541541
}
542542
}
543543
}
@@ -567,7 +567,7 @@ window.swaggerSpec={
567567
},
568568
"examples" : {
569569
"update-goal" : {
570-
"value" : "{\n \"name\" : \"내 목표는 그로잇 완성\",\n \"duration\" : {\n \"startDate\" : \"2025-12-29\",\n \"endDate\" : \"2026-01-25\"\n }\n}"
570+
"value" : "{\n \"name\" : \"내 목표는 그로잇 완성\",\n \"duration\" : {\n \"startDate\" : \"2026-01-05\",\n \"endDate\" : \"2026-02-01\"\n }\n}"
571571
}
572572
}
573573
}
@@ -754,7 +754,7 @@ window.swaggerSpec={
754754
},
755755
"examples" : {
756756
"create-todo" : {
757-
"value" : "{\n \"goalId\" : \"goal-1\",\n \"date\" : \"2025-12-27\",\n \"content\" : \"할 일 내용\",\n \"isImportant\" : false,\n \"routine\" : {\n \"duration\" : {\n \"startDate\" : \"2024-01-01\",\n \"endDate\" : \"2024-01-07\"\n },\n \"repeatType\" : \"DAILY\"\n }\n}"
757+
"value" : "{\n \"goalId\" : \"goal-1\",\n \"date\" : \"2026-01-03\",\n \"content\" : \"할 일 내용\",\n \"isImportant\" : false,\n \"routine\" : {\n \"duration\" : {\n \"startDate\" : \"2024-01-01\",\n \"endDate\" : \"2024-01-07\"\n },\n \"repeatType\" : \"DAILY\"\n }\n}"
758758
}
759759
}
760760
}
@@ -876,7 +876,7 @@ window.swaggerSpec={
876876
},
877877
"examples" : {
878878
"update-todo" : {
879-
"value" : "{\n \"goalId\" : \"goal-1\",\n \"date\" : \"2025-12-27\",\n \"content\" : \"수정된 할 일 내용\",\n \"isImportant\" : true,\n \"routine\" : {\n \"duration\" : {\n \"startDate\" : \"2025-12-27\",\n \"endDate\" : \"2026-01-03\"\n },\n \"repeatType\" : \"DAILY\"\n },\n \"routineUpdateType\" : \"ALL\"\n}"
879+
"value" : "{\n \"goalId\" : \"goal-1\",\n \"date\" : \"2026-01-03\",\n \"content\" : \"수정된 할 일 내용\",\n \"isImportant\" : true,\n \"routine\" : {\n \"duration\" : {\n \"startDate\" : \"2026-01-03\",\n \"endDate\" : \"2026-01-10\"\n },\n \"repeatType\" : \"DAILY\"\n },\n \"routineUpdateType\" : \"ALL\"\n}"
880880
}
881881
}
882882
}
@@ -1690,15 +1690,6 @@ window.swaggerSpec={
16901690
}
16911691
}
16921692
},
1693-
"goals-id233228607" : {
1694-
"type" : "object",
1695-
"properties" : {
1696-
"data" : {
1697-
"type" : "string",
1698-
"description" : "수정 완료 메시지"
1699-
}
1700-
}
1701-
},
17021693
"goal-retrospects-1650437255" : {
17031694
"type" : "object",
17041695
"properties" : {
@@ -1713,6 +1704,15 @@ window.swaggerSpec={
17131704
}
17141705
}
17151706
},
1707+
"goals-id233228607" : {
1708+
"type" : "object",
1709+
"properties" : {
1710+
"data" : {
1711+
"type" : "string",
1712+
"description" : "수정 완료 메시지"
1713+
}
1714+
}
1715+
},
17161716
"todos-count-594042420" : {
17171717
"type" : "object",
17181718
"properties" : {

0 commit comments

Comments
 (0)