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

Class DIController

tests/integration/api.controller.spec.ts:45–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43}
44
45@Controller('/test')
46class DIController extends ApiController {
47 constructor(private test: TestService) {
48 super();
49 }
50
51 @HttpGet('/get')
52 get(): any {
53 return { data: this.test.name() };
54 }
55}
56
57@Controller('/test')
58class TestController extends ApiController {

Callers

nothing calls this directly

Calls 2

ControllerFunction · 0.85
HttpGetFunction · 0.85

Tested by

no test coverage detected