File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed
src/test/java/eatda/document Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -47,9 +47,9 @@ class RegisterCheer {
4747 - request body 예시
4848 ```json
4949 {
50- "storeKakaoId": "123", // 가게 카카오 ID
51- "storeName": "농민백암순대 본점", // 가게 이름
52- "description": "너무 맛있어요! 준환님 추천 맛집!" // 응원 내용
50+ "storeKakaoId": "123", // 가게 카카오 ID (필수)
51+ "storeName": "농민백암순대 본점", // 가게 이름 (필수)
52+ "description": "너무 맛있어요! 준환님 추천 맛집!" // 응원 내용 (필수)
5353 }
5454 ```
5555 """ ;
Original file line number Diff line number Diff line change @@ -41,9 +41,9 @@ class RegisterStory {
4141 - request body 예시
4242 ```json
4343 {
44- "storeKakaoId": "123", // 가게 카카오 ID
45- "storeName": "농민백암순대 본점", // 가게 이름
46- "description": "너무 맛있어요! 준환님 추천 맛집!" // 스토리 내용
44+ "storeKakaoId": "123", // 가게 카카오 ID (필수)
45+ "storeName": "농민백암순대 본점", // 가게 이름 (필수)
46+ "description": "너무 맛있어요! 준환님 추천 맛집!" // 스토리 내용 (null 허용)
4747 }
4848 ```
4949 """ ;
@@ -60,7 +60,7 @@ class RegisterStory {
6060 ).requestBodyField ("request" ,
6161 fieldWithPath ("storeName" ).description ("가게 이름" ),
6262 fieldWithPath ("storeKakaoId" ).description ("가게의 카카오 ID" ),
63- fieldWithPath ("description" ).description ("스토리 내용 (필수)" )
63+ fieldWithPath ("description" ).description ("스토리 내용 (필수)" ). optional ()
6464 );
6565
6666 RestDocsResponse responseDocument = response ()
You can’t perform that action at this time.
0 commit comments