Skip to content

Commit

Permalink
[DOCS] 응원톡 조회 시 order 필드 삭제 #119
Browse files Browse the repository at this point in the history
  • Loading branch information
Jin409 committed Mar 2, 2024
1 parent 206a637 commit 2ffed4e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 15 deletions.
15 changes: 4 additions & 11 deletions src/main/resources/static/docs/api.html
Original file line number Diff line number Diff line change
Expand Up @@ -623,22 +623,20 @@ <h4 id="_응원톡_조회_http_response"><a class="link" href="#_응원톡_조
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/json
Content-Length: 303
Content-Length: 273

[ {
"cheerTalkId" : 2,
"content" : "응원해요",
"gameTeamId" : 1,
"createdAt" : "2024-01-21T11:46:00",
"isBlocked" : false,
"order" : 1
"isBlocked" : false
}, {
"cheerTalkId" : 3,
"content" : "파이팅",
"gameTeamId" : 2,
"createdAt" : "2024-01-21T11:46:00",
"isBlocked" : false,
"order" : 2
"isBlocked" : false
} ]</code></pre>
</div>
</div>
Expand Down Expand Up @@ -684,11 +682,6 @@ <h4 id="_응원톡_조회_response_fields"><a class="link" href="#_응원톡_조
<td class="tableblock halign-left valign-top"><p class="tableblock"><code>Boolean</code></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">응원톡의 블락 여부</p></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock"><code>[].order</code></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><code>Number</code></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">게임팀의 순서</p></td>
</tr>
</tbody>
</table>
</div>
Expand Down Expand Up @@ -1961,7 +1954,7 @@ <h4 id="_스포츠_전체_조회_response_fields"><a class="link" href="#_스포
<div id="footer">
<div id="footer-text">
Version 0.0.1-SNAPSHOT<br>
Last updated 2024-02-28 21:38:25 UTC
Last updated 2024-03-02 13:40:19 UTC
</div>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.18.3/highlight.min.js"></script>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ public class CheerTalkQueryControllerTest extends DocumentationTest {
LocalDateTime createdAt = LocalDateTime.of(2024, 1, 21, 11, 46, 0);
List<CheerTalkResponse> response = List.of(
new CheerTalkResponse(
2L, "응원해요", 1L, createdAt, false, 1
2L, "응원해요", 1L, createdAt, false
),
new CheerTalkResponse(
3L, "파이팅", 2L, createdAt, false, 2
3L, "파이팅", 2L, createdAt, false
)
);

Expand Down Expand Up @@ -65,8 +65,7 @@ public class CheerTalkQueryControllerTest extends DocumentationTest {
fieldWithPath("[].gameTeamId").type(JsonFieldType.NUMBER)
.description("응원톡에 해당하는 게임팀의 ID"),
fieldWithPath("[].createdAt").type(JsonFieldType.STRING).description("생성된 날짜 및 시각"),
fieldWithPath("[].isBlocked").type(JsonFieldType.BOOLEAN).description("응원톡의 블락 여부"),
fieldWithPath("[].order").type(JsonFieldType.NUMBER).description("게임팀의 순서")
fieldWithPath("[].isBlocked").type(JsonFieldType.BOOLEAN).description("응원톡의 블락 여부")
)
));
}
Expand Down

0 comments on commit 2ffed4e

Please sign in to comment.