/*\r
* Copyright © 2017-2018 AT&T Intellectual Property.\r
+ * Modifications Copyright © 2018 IBM.\r
*\r
* Licensed under the Apache License, Version 2.0 (the "License");\r
* you may not use this file except in compliance with the License.\r
import org.slf4j.Logger;\r
import org.slf4j.LoggerFactory;\r
import org.springframework.context.annotation.Bean;\r
-import org.springframework.context.annotation.ComponentScan;\r
import org.springframework.context.annotation.Configuration;\r
-import org.springframework.web.bind.annotation.RequestMapping;\r
import springfox.documentation.builders.PathSelectors;\r
import springfox.documentation.builders.RequestHandlerSelectors;\r
import springfox.documentation.service.ApiInfo;\r
@EnableSwagger2\r
public class SwaggerConfig {\r
private static final Set<String> DEFAULT_PRODUCES_AND_CONSUMES =\r
- new HashSet<String>(Arrays.asList("application/json",\r
+ new HashSet<>(Arrays.asList("application/json",\r
"application/xml"));\r
private static Logger log = LoggerFactory.getLogger(SwaggerConfig.class);\r
\r