From 575f034b6fab0ab7843f59701cb6561c818b54e2 Mon Sep 17 00:00:00 2001 From: Hyeonjun Park Date: Sat, 30 Dec 2023 00:09:27 +0900 Subject: [PATCH] =?UTF-8?q?docs=20:=20question=20list=20=EC=A1=B0=ED=9A=8C?= =?UTF-8?q?=EC=97=90=20optional=20parameter=20=EB=AA=85=EC=8B=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/templates/api-docs.html | 6 +++--- .../domain/question/query/QuestionQueryCtrlTest.kt | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/main/resources/templates/api-docs.html b/src/main/resources/templates/api-docs.html index 87f0582..2d3de02 100644 --- a/src/main/resources/templates/api-docs.html +++ b/src/main/resources/templates/api-docs.html @@ -2069,15 +2069,15 @@

HTTP request<

title

-

제목 포함 내용

+

제목 포함 내용 (optional)

body

-

내용 포함 내용

+

내용 포함 내용 (optional)

writerNickname

-

작성자 포함 내용

+

작성자 포함 내용 (optional)

lectureCode

diff --git a/src/test/kotlin/site/qbox/qboxserver/domain/question/query/QuestionQueryCtrlTest.kt b/src/test/kotlin/site/qbox/qboxserver/domain/question/query/QuestionQueryCtrlTest.kt index ead26e6..3cca849 100644 --- a/src/test/kotlin/site/qbox/qboxserver/domain/question/query/QuestionQueryCtrlTest.kt +++ b/src/test/kotlin/site/qbox/qboxserver/domain/question/query/QuestionQueryCtrlTest.kt @@ -55,9 +55,9 @@ class QuestionQueryCtrlTest : WebClientDocsTest() { print( "find-all-questions", queryParameters( - parameterWithName("title").description("제목 포함 내용").optional(), - parameterWithName("body").description("내용 포함 내용").optional(), - parameterWithName("writerNickname").description("작성자 포함 내용").optional(), + parameterWithName("title").description("제목 포함 내용 (optional)").optional(), + parameterWithName("body").description("내용 포함 내용 (optional)").optional(), + parameterWithName("writerNickname").description("작성자 포함 내용 (optional)").optional(), parameterWithName("lectureCode").description("강의 코드"), parameterWithName("lectureDepart").description("강의 해당 학과 ID"), parameterWithName("page").description("page 번호"),