Skip to content
Snippets Groups Projects

Changes Cloud

6 files
+ 295
150
Compare changes
  • Side-by-side
  • Inline
Files
6
@@ -16,6 +16,7 @@ package org.eclipse.openk.gridfailureinformation.importadresses.config;
import lombok.extern.log4j.Log4j2;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Profile;
@@ -30,6 +31,7 @@ import javax.servlet.ServletContext;
@Configuration
@EnableSwagger2
@Profile("!prod")
@ConditionalOnProperty(prefix = "swagger", name = "enabled", havingValue = "true", matchIfMissing = false)
public class SwaggerConfig {
@Value("${swagger.baseUrl:}")
Loading