diff --git a/adapters/humachi/humachi_test.go b/adapters/humachi/humachi_test.go index 0b9314c6..7e036099 100644 --- a/adapters/humachi/humachi_test.go +++ b/adapters/humachi/humachi_test.go @@ -351,7 +351,7 @@ func TestChiRouterPrefix(t *testing.T) { // The docs HTML should point to the full URL including base path. resp = tapi.Get("/api/docs") assert.Equal(t, http.StatusOK, resp.Code) - assert.Contains(t, resp.Body.String(), "/api/openapi.yaml") + assert.Contains(t, resp.Body.String(), "/api/openapi.json") } func TestPathParamDecoding(t *testing.T) { diff --git a/api.go b/api.go index e93c88fd..76572161 100644 --- a/api.go +++ b/api.go @@ -496,7 +496,7 @@ func NewAPI(config Config, a Adapter) API {