@yogeliu/mcp-server-yapi
Version:
Enhanced YAPI MCP server with multi-project support and enterprise features
24 lines • 627 B
JavaScript
/**
* YAPI API端点定义
*/
// 项目相关
export const PROJECT_ENDPOINTS = {
GET: '/api/project/get'
};
// 接口相关
export const INTERFACE_ENDPOINTS = {
GET: '/api/interface/get',
LIST: '/api/interface/list',
LIST_CAT: '/api/interface/list_cat',
LIST_MENU: '/api/interface/list_menu',
ADD: '/api/interface/add',
UP: '/api/interface/up',
SAVE: '/api/interface/save',
ADD_CAT: '/api/interface/add_cat',
GET_CAT_MENU: '/api/interface/getCatMenu'
};
// 开放API
export const OPEN_ENDPOINTS = {
IMPORT_DATA: '/api/open/import_data'
};
//# sourceMappingURL=yapi-endpoints.js.map