package com.artfess.base.conf;

import com.artfess.base.constants.ApiGroupConsts;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;



import springfox.documentation.spring.web.plugins.Docket;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * Swagger配置
 * 
 * @company 广州宏天软件股份有限公司
 * @author heyifan
 * @email heyf@jee-soft.cn
 * @date 2018年4月19日
 */
@Configuration
@EnableSwagger2
public class SwaggerConfig extends SwaggerConfigHelper{

	@Bean
	public Docket bpmApi() {
		return buildProductApi("流程接口", ApiGroupConsts.GROUP_BPM);
	}

}
