package de.egga.wecide.configuration;

import com.mangofactory.swagger.configuration.SpringSwaggerConfig;
import com.mangofactory.swagger.models.dto.ApiInfo;
import com.mangofactory.swagger.plugin.EnableSwagger;
import com.mangofactory.swagger.plugin.SwaggerSpringMvcPlugin;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author egga
 */
@Configuration
@EnableSwagger
public class SwaggerConfiguration {
    private SpringSwaggerConfig springSwaggerConfig;

    @Autowired
    public void setSpringSwaggerConfig(SpringSwaggerConfig springSwaggerConfig) {
        this.springSwaggerConfig = springSwaggerConfig;
    }

    @Bean
    public SwaggerSpringMvcPlugin customImplementation() {
        return new SwaggerSpringMvcPlugin(this.springSwaggerConfig).apiInfo(apiInfo());
    }

    private ApiInfo apiInfo() {
        return new ApiInfo(
                "BootKick API",
                "Kickstarting APIs with Spring Boot",
                null, null, null, null
        );
    }
}
@@ -994,16 +994,14 @@
    %22
-BootKick
+wecide
  API
@@ -1024,42 +1024,33 @@
    %22
-Kickstarting APIs with Spring Boot
+Making decisions together
 %22,%0A 

update meta info