|  | @@ -26,8 +26,9 @@ import springfox.documentation.swagger2.annotations.EnableSwagger2;
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |  @Configuration
 |  |  @Configuration
 | 
											
												
													
														|  |  @EnableSwagger2
 |  |  @EnableSwagger2
 | 
											
												
													
														|  | -@EnableAutoConfiguration
 |  | 
 | 
											
												
													
														|  | 
 |  | +@EnableConfigurationProperties(SwaggerProperties.class)
 | 
											
												
													
														|  |  @ConditionalOnProperty(name = "swagger.enabled", matchIfMissing = true)
 |  |  @ConditionalOnProperty(name = "swagger.enabled", matchIfMissing = true)
 | 
											
												
													
														|  | 
 |  | +@Import({SwaggerBeanPostProcessor.class, SwaggerWebConfiguration.class})
 | 
											
												
													
														|  |  public class SwaggerAutoConfiguration
 |  |  public class SwaggerAutoConfiguration
 | 
											
												
													
														|  |  {
 |  |  {
 | 
											
												
													
														|  |      /**
 |  |      /**
 | 
											
										
											
												
													
														|  | @@ -37,13 +38,6 @@ public class SwaggerAutoConfiguration
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |      private static final String BASE_PATH = "/**";
 |  |      private static final String BASE_PATH = "/**";
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  | -    @Bean
 |  | 
 | 
											
												
													
														|  | -    @ConditionalOnMissingBean
 |  | 
 | 
											
												
													
														|  | -    public SwaggerProperties swaggerProperties()
 |  | 
 | 
											
												
													
														|  | -    {
 |  | 
 | 
											
												
													
														|  | -        return new SwaggerProperties();
 |  | 
 | 
											
												
													
														|  | -    }
 |  | 
 | 
											
												
													
														|  | -
 |  | 
 | 
											
												
													
														|  |      @Bean
 |  |      @Bean
 | 
											
												
													
														|  |      public Docket api(SwaggerProperties swaggerProperties)
 |  |      public Docket api(SwaggerProperties swaggerProperties)
 | 
											
												
													
														|  |      {
 |  |      {
 |