MCPcopy Index your code
hub / github.com/oapi-codegen/oapi-codegen / TestChiServer

Function TestChiServer

internal/test/strict-server/strict_test.go:38–44  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

36}
37
38func TestChiServer(t *testing.T) {
39 server := chiAPI.StrictServer{}
40 strictHandler := chiAPI.NewStrictHandler(server, nil)
41 r := chi.NewRouter()
42 handler := chiAPI.HandlerFromMux(strictHandler, r)
43 testImpl(t, handler)
44}
45
46func TestEchoServer(t *testing.T) {
47 server := echoAPI.StrictServer{}

Callers

nothing calls this directly

Calls 1

testImplFunction · 0.70

Tested by

no test coverage detected