Skip to content

Commit 0a5a19b

Browse files
committed
feat: 사용자 사주 정보 및 관련 데이터 구조 수정 (#383)
1 parent ee81904 commit 0a5a19b

File tree

1 file changed

+133
-93
lines changed

1 file changed

+133
-93
lines changed

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

Lines changed: 133 additions & 93 deletions
Original file line numberDiff line numberDiff line change
@@ -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\" : \"2026-02-07T18:14:11.75702\"\n } ],\n \"isGoalOnboardingCompleted\" : false\n }\n}"
38+
"value" : "{\n \"data\" : {\n \"remainingCount\" : 3,\n \"conversations\" : [ {\n \"userMessage\" : \"계기가 뭐야?\",\n \"grorongResponse\" : \"그로롱 답변\",\n \"timestamp\" : \"2026-02-14T00:20:05.167076\"\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\" : \"2026-02-07T18:14:11.164409\"\n } ],\n \"isGoalOnboardingCompleted\" : true\n }\n}"
75+
"value" : "{\n \"data\" : {\n \"remainingCount\" : 2,\n \"conversations\" : [ {\n \"userMessage\" : \"목표 달성 힘드네\",\n \"grorongResponse\" : \"전략적인 답변\",\n \"timestamp\" : \"2026-02-14T00:20:04.605952\"\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\" : \"2026-02-02\",\n \"endDate\" : \"2026-02-08\"\n }\n },\n \"goalRetrospect\" : {\n \"id\" : \"PrVFOSKc2PAZsCwvHDgTM\",\n \"isCompleted\" : true\n }\n } ]\n}"
330+
"value" : "{\n \"data\" : [ {\n \"goal\" : {\n \"id\" : \"goal-1\",\n \"name\" : \"테스트 목표\",\n \"duration\" : {\n \"startDate\" : \"2026-02-09\",\n \"endDate\" : \"2026-02-15\"\n }\n },\n \"goalRetrospect\" : {\n \"id\" : \"XtQ3Om88DOsS3hkMqIDyQ\",\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\" : \"thlANvLO5tv8JrzD7ckgM\",\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\" : \"nJQawFhoGyln-NUTxHhvB\",\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\" : \"2026-02-02\",\n \"endDate\" : \"2026-02-08\"\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\" : \"2026-02-09\",\n \"endDate\" : \"2026-02-15\"\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\" : \"2026-02-09\",\n \"endDate\" : \"2026-03-08\"\n }\n}"
490+
"value" : "{\n \"name\" : \"내 목표는 그로잇 완성\",\n \"duration\" : {\n \"startDate\" : \"2026-02-16\",\n \"endDate\" : \"2026-03-15\"\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\" : \"2026-02-02\",\n \"endDate\" : \"2026-02-08\"\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\" : \"2026-02-09\",\n \"endDate\" : \"2026-02-15\"\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\" : \"2026-02-09\",\n \"endDate\" : \"2026-03-08\"\n }\n}"
570+
"value" : "{\n \"name\" : \"내 목표는 그로잇 완성\",\n \"duration\" : {\n \"startDate\" : \"2026-02-16\",\n \"endDate\" : \"2026-03-15\"\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\" : \"2026-02-07\",\n \"content\" : \"할 일 내용\",\n \"isImportant\" : false,\n \"routine\" : {\n \"duration\" : {\n \"startDate\" : \"2024-01-01\",\n \"endDate\" : \"2024-01-31\"\n },\n \"repeatType\" : \"WEEKLY\",\n \"repeatDays\" : [ \"MONDAY\", \"WEDNESDAY\", \"FRIDAY\" ]\n }\n}"
757+
"value" : "{\n \"goalId\" : \"goal-1\",\n \"date\" : \"2026-02-14\",\n \"content\" : \"할 일 내용\",\n \"isImportant\" : false,\n \"routine\" : {\n \"duration\" : {\n \"startDate\" : \"2024-01-01\",\n \"endDate\" : \"2024-01-31\"\n },\n \"repeatType\" : \"WEEKLY\",\n \"repeatDays\" : [ \"MONDAY\", \"WEDNESDAY\", \"FRIDAY\" ]\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\" : \"2026-02-07\",\n \"content\" : \"수정된 할 일 내용\",\n \"isImportant\" : true,\n \"routine\" : {\n \"duration\" : {\n \"startDate\" : \"2026-02-07\",\n \"endDate\" : \"2026-02-14\"\n },\n \"repeatType\" : \"BIWEEKLY\",\n \"repeatDays\" : [ \"MONDAY\", \"FRIDAY\" ]\n },\n \"routineUpdateType\" : \"ALL\"\n}"
879+
"value" : "{\n \"goalId\" : \"goal-1\",\n \"date\" : \"2026-02-14\",\n \"content\" : \"수정된 할 일 내용\",\n \"isImportant\" : true,\n \"routine\" : {\n \"duration\" : {\n \"startDate\" : \"2026-02-14\",\n \"endDate\" : \"2026-02-21\"\n },\n \"repeatType\" : \"BIWEEKLY\",\n \"repeatDays\" : [ \"MONDAY\", \"FRIDAY\" ]\n },\n \"routineUpdateType\" : \"ALL\"\n}"
880880
}
881881
}
882882
}
@@ -1014,11 +1014,11 @@ window.swaggerSpec={
10141014
"content" : {
10151015
"application/json" : {
10161016
"schema" : {
1017-
"$ref" : "#/components/schemas/users-myprofile1099530227"
1017+
"$ref" : "#/components/schemas/users-myprofile-911377986"
10181018
},
10191019
"examples" : {
10201020
"get-user" : {
1021-
"value" : "{\n \"data\" : {\n \"id\" : \"user-1\",\n \"email\" : \"user@example.com\",\n \"name\" : \"testUser\",\n \"lastName\" : null,\n \"jobRole\" : {\n \"id\" : \"dev\",\n \"name\" : \"개발자\"\n },\n \"careerYear\" : \"JUNIOR\"\n }\n}"
1021+
"value" : "{\n \"data\" : {\n \"id\" : \"user-1\",\n \"email\" : \"user@example.com\",\n \"name\" : \"testUser\",\n \"lastName\" : null,\n \"jobRole\" : {\n \"id\" : \"dev\",\n \"name\" : \"개발자\"\n },\n \"careerYear\" : \"JUNIOR\",\n \"sajuInfo\" : null\n }\n}"
10221022
}
10231023
}
10241024
}
@@ -1045,11 +1045,11 @@ window.swaggerSpec={
10451045
"content" : {
10461046
"application/json" : {
10471047
"schema" : {
1048-
"$ref" : "#/components/schemas/users-myprofile-1319898053"
1048+
"$ref" : "#/components/schemas/users-myprofile-1751304600"
10491049
},
10501050
"examples" : {
10511051
"update-user" : {
1052-
"value" : "{\n \"name\" : \"updatedName\",\n \"lastName\" : null,\n \"jobRoleId\" : \"jobRoleId-1\",\n \"careerYear\" : \"JUNIOR\"\n}"
1052+
"value" : "{\n \"name\" : \"updatedName\",\n \"lastName\" : null,\n \"jobRoleId\" : \"jobRoleId-1\",\n \"careerYear\" : \"JUNIOR\",\n \"saju\" : null\n}"
10531053
}
10541054
}
10551055
}
@@ -1500,6 +1500,71 @@ window.swaggerSpec={
15001500
}
15011501
}
15021502
},
1503+
"users-myprofile-911377986" : {
1504+
"type" : "object",
1505+
"properties" : {
1506+
"data" : {
1507+
"type" : "object",
1508+
"properties" : {
1509+
"careerYear" : {
1510+
"type" : "string",
1511+
"description" : "경력 연차"
1512+
},
1513+
"lastName" : {
1514+
"type" : "string",
1515+
"description" : "성"
1516+
},
1517+
"name" : {
1518+
"type" : "string",
1519+
"description" : "이름"
1520+
},
1521+
"jobRole" : {
1522+
"type" : "object",
1523+
"properties" : {
1524+
"name" : {
1525+
"type" : "string",
1526+
"description" : "직무 이름"
1527+
},
1528+
"id" : {
1529+
"type" : "string",
1530+
"description" : "직무 ID"
1531+
}
1532+
}
1533+
},
1534+
"id" : {
1535+
"type" : "string",
1536+
"description" : "사용자 ID"
1537+
},
1538+
"email" : {
1539+
"type" : "string",
1540+
"description" : "이메일"
1541+
},
1542+
"sajuInfo" : {
1543+
"type" : "object",
1544+
"properties" : {
1545+
"birthHour" : {
1546+
"type" : "string",
1547+
"description" : "태어난 시간"
1548+
},
1549+
"gender" : {
1550+
"type" : "string",
1551+
"description" : "성별"
1552+
},
1553+
"birthHourDisplay" : {
1554+
"type" : "string",
1555+
"description" : "태어난 시간 표시"
1556+
},
1557+
"birth" : {
1558+
"type" : "string",
1559+
"description" : "생년월일"
1560+
}
1561+
},
1562+
"description" : "사주정보"
1563+
}
1564+
}
1565+
}
1566+
}
1567+
},
15031568
"todos1865978283" : {
15041569
"type" : "object",
15051570
"properties" : {
@@ -1951,15 +2016,6 @@ window.swaggerSpec={
19512016
}
19522017
}
19532018
},
1954-
"users-myprofile-logout1299858205" : {
1955-
"type" : "object",
1956-
"properties" : {
1957-
"data" : {
1958-
"type" : "string",
1959-
"description" : "로그아웃 성공 메세지"
1960-
}
1961-
}
1962-
},
19632019
"todos1333174289" : {
19642020
"type" : "object",
19652021
"properties" : {
@@ -2020,24 +2076,12 @@ window.swaggerSpec={
20202076
}
20212077
}
20222078
},
2023-
"users-myprofile-1319898053" : {
2079+
"users-myprofile-logout1299858205" : {
20242080
"type" : "object",
20252081
"properties" : {
2026-
"careerYear" : {
2027-
"type" : "string",
2028-
"description" : "경력 연차"
2029-
},
2030-
"lastName" : {
2031-
"type" : "string",
2032-
"description" : "성"
2033-
},
2034-
"name" : {
2035-
"type" : "string",
2036-
"description" : "이름"
2037-
},
2038-
"jobRoleId" : {
2082+
"data" : {
20392083
"type" : "string",
2040-
"description" : "직무 ID"
2084+
"description" : "로그아웃 성공 메세지"
20412085
}
20422086
}
20432087
},
@@ -2141,12 +2185,42 @@ window.swaggerSpec={
21412185
}
21422186
}
21432187
},
2144-
"todos-id1726757658" : {
2188+
"users-myprofile-1751304600" : {
21452189
"type" : "object",
21462190
"properties" : {
2147-
"data" : {
2191+
"careerYear" : {
21482192
"type" : "string",
2149-
"description" : "상태 변경 완료 메시지"
2193+
"description" : "경력 연차"
2194+
},
2195+
"lastName" : {
2196+
"type" : "string",
2197+
"description" : "성"
2198+
},
2199+
"name" : {
2200+
"type" : "string",
2201+
"description" : "이름"
2202+
},
2203+
"jobRoleId" : {
2204+
"type" : "string",
2205+
"description" : "직무 ID"
2206+
},
2207+
"saju" : {
2208+
"type" : "object",
2209+
"properties" : {
2210+
"birthHour" : {
2211+
"type" : "string",
2212+
"description" : "태어난 시간"
2213+
},
2214+
"gender" : {
2215+
"type" : "string",
2216+
"description" : "성별"
2217+
},
2218+
"birth" : {
2219+
"type" : "string",
2220+
"description" : "생년월일"
2221+
}
2222+
},
2223+
"description" : "사주정보"
21502224
}
21512225
}
21522226
},
@@ -2165,6 +2239,15 @@ window.swaggerSpec={
21652239
}
21662240
}
21672241
},
2242+
"todos-id1726757658" : {
2243+
"type" : "object",
2244+
"properties" : {
2245+
"data" : {
2246+
"type" : "string",
2247+
"description" : "상태 변경 완료 메시지"
2248+
}
2249+
}
2250+
},
21682251
"todos-id-925192925" : {
21692252
"type" : "object",
21702253
"properties" : {
@@ -2217,49 +2300,6 @@ window.swaggerSpec={
22172300
}
22182301
}
22192302
},
2220-
"users-myprofile1099530227" : {
2221-
"type" : "object",
2222-
"properties" : {
2223-
"data" : {
2224-
"type" : "object",
2225-
"properties" : {
2226-
"careerYear" : {
2227-
"type" : "string",
2228-
"description" : "경력 연차"
2229-
},
2230-
"lastName" : {
2231-
"type" : "string",
2232-
"description" : "성"
2233-
},
2234-
"name" : {
2235-
"type" : "string",
2236-
"description" : "이름"
2237-
},
2238-
"jobRole" : {
2239-
"type" : "object",
2240-
"properties" : {
2241-
"name" : {
2242-
"type" : "string",
2243-
"description" : "직무 이름"
2244-
},
2245-
"id" : {
2246-
"type" : "string",
2247-
"description" : "직무 ID"
2248-
}
2249-
}
2250-
},
2251-
"id" : {
2252-
"type" : "string",
2253-
"description" : "사용자 ID"
2254-
},
2255-
"email" : {
2256-
"type" : "string",
2257-
"description" : "이메일"
2258-
}
2259-
}
2260-
}
2261-
}
2262-
},
22632303
"goals-id529992684" : {
22642304
"type" : "object",
22652305
"properties" : {
@@ -2419,6 +2459,15 @@ window.swaggerSpec={
24192459
}
24202460
}
24212461
},
2462+
"users-myprofile-promotion-954185825" : {
2463+
"type" : "object",
2464+
"properties" : {
2465+
"code" : {
2466+
"type" : "string",
2467+
"description" : "프로모션 코드"
2468+
}
2469+
}
2470+
},
24222471
"goals-1576692806" : {
24232472
"type" : "object",
24242473
"properties" : {
@@ -2441,15 +2490,6 @@ window.swaggerSpec={
24412490
"description" : "목표 이름"
24422491
}
24432492
}
2444-
},
2445-
"users-myprofile-promotion-954185825" : {
2446-
"type" : "object",
2447-
"properties" : {
2448-
"code" : {
2449-
"type" : "string",
2450-
"description" : "프로모션 코드"
2451-
}
2452-
}
24532493
}
24542494
},
24552495
"securitySchemes" : {

0 commit comments

Comments
 (0)