스웨거 예외

스터디

[SpringBoot] Swagger2 - java.lang.NumberFormatException: empty String

스웨거를 설정하다 보면 위처럼 NumberFormatException 이 발생하는 경우가 있다. 이 문제는 swagger의 annotations와 models 를 Downgrade 하여 해결할 수 있다. Build.grade implementation("io.swagger:swagger-annotations:1.5.21") implementation("io.swagger:swagger-models:1.5.21") buld.grade에 위와 같은 의존성을 추가해주면 된다. reference: https://velog.io/@gillog/SpringBoot-Swagger-%EC%84%A4%EC%A0%95%ED%95%98%EA%B8%B0

PgmJUN
'스웨거 예외' 태그의 글 목록