1. add dependencies 2. determine prefix ("/apigw" in this case) for new context and add setting in SpringBootApplication or other configuration 3. write ApiGwWebMvcConfig.java for new context 4. write Swagger2Config.java for swagger setting details for each step ==> http://wiki.gimslab.com/moniwiki/wiki.php/SwaggerSettingOnSpringBootWithNewServletContext