Versions in this module Expand all Collapse all v0 v0.0.1 Apr 13, 2023 Changes in this version + func MkTmpdir(prefix string) (string, error) + func MkTmpdirOrDie(prefix string) string + type FakeHandler struct + RequestBody string + RequestReceived *http.Request + ResponseBody string + SkipRequestFn func(verb string, url url.URL) bool + StatusCode int + T LogInterface + func (f *FakeHandler) ServeHTTP(response http.ResponseWriter, request *http.Request) + func (f *FakeHandler) SetResponseBody(responseBody string) + func (f *FakeHandler) ValidateRequest(t TestInterface, expectedPath, expectedMethod string, body *string) + func (f *FakeHandler) ValidateRequestCount(t TestInterface, count int) bool + type FakeOpenAPIServer struct + HttpServer *httptest.Server + RequestCounters map[string]int + ServedDocuments map[string]*spec3.OpenAPI + func NewFakeOpenAPIV3Server(specsPath string) (*FakeOpenAPIServer, error) + type LogInterface interface + Logf func(format string, args ...interface{}) + type TestInterface interface + Errorf func(format string, args ...interface{}) + Logf func(format string, args ...interface{})