application.yml 혹은 application.properties와 같이 환경설정이 가능한 파일에서 아래 값을 설정해주면 된다.
springdoc.swagger-ui.persist-authorization:true