inner class 사용 시 문제 발생 하나의 DTO 클래스 내에 Request와 Response를 나눠서 static inner class로 생성하여 사용하는 경우 swagger에서 inner 클래스를 인식하지 못하는 문제가 발생한다. 아래와 같이 MemberLogin DTO를 사용 시에 Swagger에서 인식하지 못하여 이 요청과 관련 없는 다른 DTO가 보이게 된다. public class MemberLogin { public static class Request { private String email; private String password; } public static class Response { private TokenDto tokenDto; } } Swagger 내부 동작 원리 Sw..
오류 발생 Redisson을 처음으로 사용해 보려고 설정을 완료하고 일단 한번 빌드하고 실행해 봤는데, org.springframework.context.ApplicationContextException: Failed to start bean 'documentationPluginsBootstrapper'; nested exception is java.lang.NullPointerException 이런 예외가 터지면서 실행이 중단되었다. swagger build.gradle 일단 이 문제가 발생한 프로젝트의 swagger implementation문이다. //swagger implementation 'io.springfox:springfox-boot-starter:3.0.0' implementation '..