MCPcopy Index your code
hub / github.com/ParallelTask/dinoloop / userImg

Method userImg

tests/integration/query.param.spec.ts:37–43  ·  view source on GitHub ↗
(
        @Parse(toNumber) id: number,
        user: string,
        @QueryParam() price: string,
        @QueryParam(toBoolean) old: boolean)

Source from the content-addressed store, hash-verified

35 // Verify with, without parse and with, without handler in query-param
36 @HttpGet('/:user/:id')
37 userImg(
38 @Parse(toNumber) id: number,
39 user: string,
40 @QueryParam() price: string,
41 @QueryParam(toBoolean) old: boolean): any {
42 return { id: id, user: user, price: price, old: old };
43 }
44 @HttpPost('/add/:user/:id')
45 addParse(
46 @Parse(() => 'test_body') body: any,

Callers

nothing calls this directly

Calls 2

ParseFunction · 0.85
QueryParamFunction · 0.85

Tested by

no test coverage detected