Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/vercel/next.js
/ people.js
File
people.js
examples/with-joi/pages/api/people.js:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
Joi from
"joi"
;
2
import
{ createRouter } from
"next-connect"
;
3
import
{ validate } from
"../../server/api/middlewares/validate"
;
4
Callers
nothing calls this directly
Calls
9
validate
Function · 0.90
createRouter
Function · 0.85
required
Method · 0.80
number
Method · 0.80
error
Method · 0.65
end
Method · 0.65
json
Method · 0.45
status
Method · 0.45
handler
Method · 0.45
Tested by
no test coverage detected