Skip to content

Commit 39a5ca4

Browse files
committed
Docs: CompareMergeCommit Swagger 예시 응답 데이터 수정
1 parent 757fae2 commit 39a5ca4

File tree

1 file changed

+31
-2
lines changed

1 file changed

+31
-2
lines changed

src/main/java/io/ejangs/docsa/domain/commit/swagger/CompareMergeCommitDocs.java

Lines changed: 31 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,12 +60,41 @@
6060
"base": {
6161
"id": "base123",
6262
"title": "기록A 제목",
63-
"content": "기록A 문서내용 ....."
63+
"content": [
64+
{
65+
"id": "mhTl6ghSkV",
66+
"type": "paragraph",
67+
"data": {
68+
"text": "Hey. Meet the new Editor. On this picture you can see it in action. Then, try a demo 🤓"
69+
}
70+
}
71+
]
6472
},
6573
"target": {
6674
"id": "target456",
6775
"title": "기록 B 제목",
68-
"content": "기록B 문서내용 ....."
76+
"content": [
77+
{
78+
"id": "l98dyx3yjb",
79+
"type": "header",
80+
"data": {
81+
"text": "Key features",
82+
"level": 3
83+
}
84+
},
85+
{
86+
"id": "os_YI4eub4",
87+
"type": "list",
88+
"data": {
89+
"type": "unordered",
90+
"items": [
91+
"It is a block-style editor",
92+
"It returns clean data output in JSON",
93+
"Designed to be extendable and pluggable with a simple API"
94+
]
95+
}
96+
}
97+
]
6998
}
7099
}
71100
"""

0 commit comments

Comments
 (0)