Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
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
10
validate
Function · 0.90
createRouter
Function · 0.85
required
Method · 0.80
uuid
Method · 0.80
get
Method · 0.65
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