MCPcopy
hub / github.com/vercel/next.js / [id].js

File [id].js

examples/with-joi/pages/api/people/[id].js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import Joi from "joi";
2import { createRouter } from "next-connect";
3import { validate } from "../../../server/api/middlewares/validate";
4

Callers

nothing calls this directly

Calls 10

validateFunction · 0.90
createRouterFunction · 0.85
requiredMethod · 0.80
uuidMethod · 0.80
getMethod · 0.65
errorMethod · 0.65
endMethod · 0.65
jsonMethod · 0.45
statusMethod · 0.45
handlerMethod · 0.45

Tested by

no test coverage detected