MCPcopy Index your code
hub / github.com/YMFE/yapi / createBaseMessage

Function createBaseMessage

common/markdown.js:69–75  ·  view source on GitHub ↗
(basepath, inter)

Source from the content-addressed store, hash-verified

67}
68
69function createBaseMessage(basepath, inter) {
70 // 基本信息
71 let baseMessage = `### 基本信息\n\n**Path:** ${basepath + inter.path}\n\n**Method:** ${
72 inter.method
73 }\n\n**接口描述:**\n${_.isUndefined(inter.desc) ? '' : inter.desc}\n`;
74 return baseMessage;
75}
76
77function createReqHeaders(req_headers) {
78 // Request-headers

Callers 1

createInterMarkdownFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected