Revision 60788
Added by Antonis Lempesis about 3 years ago
SwaggerConfig.java | ||
---|---|---|
1 | 1 |
package eu.dnetlib.repo.manager.config; |
2 | 2 |
|
3 | 3 |
import eu.dnetlib.repo.manager.controllers.*; |
4 |
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker; |
|
5 | 4 |
import org.springframework.context.annotation.Bean; |
6 | 5 |
import org.springframework.context.annotation.ComponentScan; |
7 | 6 |
import org.springframework.context.annotation.Configuration; |
... | ... | |
24 | 23 |
@Configuration |
25 | 24 |
@EnableSwagger2 |
26 | 25 |
@EnableWebMvc |
27 |
@EnableCircuitBreaker |
|
28 | 26 |
@ComponentScan(basePackageClasses = { |
29 | 27 |
RepositoryController.class, |
30 | 28 |
MonitorController.class, |
Also available in: Unified diff
code cleanup