Skip to content

Commit

Permalink
🐛 유실물 업데이트 REST DOCS 매핑 오류 수정 (#301) (#302)
Browse files Browse the repository at this point in the history
* 🐛 유실물 업데이트 REST DOCS 매핑 오류 수정 (#295)

* 🐛 removeFileIds optional 속성 추가 (#301)
  • Loading branch information
discphy authored Dec 17, 2024
1 parent ab4fc56 commit 6a856de
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions application/src/docs/asciidoc/lost/posts.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ include::{snippets}/update-lost-post/http-request.adoc[]
.Request Headers
include::{snippets}/update-lost-post/request-headers.adoc[]
.Request Parts
include::{snippets}/create-lost-post/request-parts.adoc[]
include::{snippets}/update-lost-post/request-parts.adoc[]
.Request Parts - content
include::{snippets}/create-lost-post/request-part-content-fields.adoc[]
include::{snippets}/update-lost-post/request-part-content-fields.adoc[]
.Response
include::{snippets}/update-lost-post/http-response.adoc[]
.Response Fields
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ class LostPostControllerDocsTest: CommonDocsTestConfig() {
fieldWithPath("subwayLineId").type(JsonFieldType.NUMBER).description("유실 호선 ID").optional(),
fieldWithPath("status").type(JsonFieldType.STRING).description("유실물 찾기 완료 상태")
.attributes(getFormatAttribute( "PROGRESS / COMPLETE")).optional(),
fieldWithPath("removeFileIds").type(JsonFieldType.ARRAY).description("삭제할 유실물 이미지 번호 리스트"),
fieldWithPath("removeFileIds").type(JsonFieldType.ARRAY).description("삭제할 유실물 이미지 번호 리스트").optional(),
fieldWithPath("categoryName").type(JsonFieldType.STRING).description("[deprecated] 카테고리 이름").optional() // deprecated
),
responseFields(
Expand Down

0 comments on commit 6a856de

Please sign in to comment.