cm-cloud/cloud-common/src/main/java/com/cm/common/service/IApiDocService.java

40 lines
873 B
Java

package com.cm.common.service;
import freemarker.template.TemplateException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.List;
import java.util.Map;
/**
* When you feel like quitting. Think about why you started
* 当你想要放弃的时候,想想当初你为何开始
*
* @ClassName: IApiDocService
* @Description: api文档
* @Author: WangGeng
* @Date: 2021/8/14 10:57
* @Version: 1.0
**/
public interface IApiDocService {
/**
* 获取接口
*
* @param apiTypes
* @return
*/
Map<String, Object> getApi(List<String> apiTypes);
/**
* 获取文档
*
* @param request
* @param response
*/
void get(HttpServletRequest request, HttpServletResponse response) throws IOException, TemplateException;
}