File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
src/test/java/eatda/document/story Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 66import static org .mockito .Mockito .doThrow ;
77import static org .springframework .restdocs .headers .HeaderDocumentation .headerWithName ;
88import static org .springframework .restdocs .payload .PayloadDocumentation .fieldWithPath ;
9+ import static org .springframework .restdocs .request .RequestDocumentation .parameterWithName ;
910import static org .springframework .restdocs .request .RequestDocumentation .partWithName ;
1011
1112import eatda .controller .story .StoriesResponse ;
@@ -117,7 +118,10 @@ class GetStories {
117118 RestDocsRequest requestDocument = request ()
118119 .tag (Tag .STORY_API )
119120 .summary ("스토리 목록 조회" )
120- .description ("스토리 목록을 페이지네이션하여 조회합니다." );
121+ .description ("스토리 목록을 페이지네이션하여 조회합니다." )
122+ .queryParameter (
123+ parameterWithName ("size" ).description ("스토리 개수 (기본값: 5) (최소값: 1, 최대값: 50)" ).optional ()
124+ );
121125
122126 RestDocsResponse responseDocument = response ()
123127 .responseBodyField (
You can’t perform that action at this time.
0 commit comments