You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
OpenApiV3Builder::build() emits no paths, so v3 descriptions have zero endpoints #31
The data is there and correct — addRoute() populates $this->paths and even guards against duplicate METHOD path pairs with RouteAlreadyDefined. Only the assignment that would emit it is commented out.
This looks unfinished rather than regressed (the value being commented out with the collection still fully maintained suggests work in progress), so it may be intentional-for-now. Filing it so the state is recorded rather than rediscovered.
Worth checking before uncommenting: whether $this->paths[$path][$method] = true was meant to hold the operation object rather than a boolean — as stored, emitting it directly would produce {"/pets": {"get": true}}, which is not valid OpenAPI.
Found during the coverage work in #28, which deliberately left OpenAPI V3 untested on the grounds that it should be fixed before its output is pinned by tests.
Activity