This MR updates the required changes from the swagger version update from 2.0 to 3.0. Additionally, set the default response headers to avoid default Spring Security response headers(https://docs.spring.io/spring-security/reference/features/exploits/headers.html).