func TestBasicPathsMerged(t *testing.T) { … }
func TestAddUpdateAPIService(t *testing.T) { … }
func TestAPIServiceOpenAPIServiceMismatch(t *testing.T) { … }
func TestAddRemoveAPIService(t *testing.T) { … }
func TestUpdateAPIService(t *testing.T) { … }
func TestFailingAPIServiceSkippedAggregation(t *testing.T) { … }
func TestAPIServiceFailSuccessTransition(t *testing.T) { … }
func TestFailingAPIServiceDoesNotBlockAdd(t *testing.T) { … }
type openAPIHandler …
func (o *openAPIHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) { … }
func fetchOpenAPI(mux *http.ServeMux) (*spec.Swagger, error) { … }
func buildAndRegisterSpecAggregator(delegationHandlers []http.Handler, mux common.PathHandler) *specAggregator { … }
func expectPath(t *testing.T, swagger *spec.Swagger, path string) { … }
func expectNoPath(t *testing.T, swagger *spec.Swagger, path string) { … }