MCPcopy
hub / github.com/YMFE/yapi / mockServer.js

File mockServer.js

server/middleware/mockServer.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1const yapi = require('../yapi.js');
2const projectModel = require('../models/project.js');
3const interfaceModel = require('../models/interface.js');
4const mockExtra = require('../../common/mock-extra.js');

Callers

nothing calls this directly

Calls 8

matchApiFunction · 0.85
handleCorsRequestFunction · 0.85
mockValidatorFunction · 0.85
parseCookieFunction · 0.85
getByPathMethod · 0.80
getByQueryPathMethod · 0.80
getVarMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected