버그 설명
GET /api/v1/orders/?showing=true&page=0&size=10 등 trailing slash가 붙은 요청에서 405 Method Not Allowed 발생.
원인
Spring Boot 3.x에서 trailing slash 매칭이 기본 비활성화됨. /api/v1/orders/ → @GetMapping 매핑 실패.
수정
WebMvcConfig.configurePathMatch에서 setUseTrailingSlashMatch(true) 설정 추가.
버그 설명
GET /api/v1/orders/?showing=true&page=0&size=10등 trailing slash가 붙은 요청에서 405 Method Not Allowed 발생.원인
Spring Boot 3.x에서 trailing slash 매칭이 기본 비활성화됨.
/api/v1/orders/→@GetMapping매핑 실패.수정
WebMvcConfig.configurePathMatch에서setUseTrailingSlashMatch(true)설정 추가.