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

Function doGet

examples/petstore-expanded/iris/petstore_test.go:29–32  ·  view source on GitHub ↗
(t *testing.T, handler http.Handler, url string)

Source from the content-addressed store, hash-verified

27)
28
29func doGet(t *testing.T, handler http.Handler, url string) *httptest.ResponseRecorder {
30 response := testutil.NewRequest().Get(url).WithAcceptJson().GoWithHTTPHandler(t, handler)
31 return response.Recorder
32}
33
34func TestPetStore(t *testing.T) {
35 store := api.NewPetStore()

Callers 1

TestPetStoreFunction · 0.70

Calls 1

GetMethod · 0.45

Tested by

no test coverage detected