Skip to content

v0.3.16

Choose a tag to compare

@github-actions github-actions released this 11 Aug 08:04
· 71 commits to main since this release
a913749
fix(crossrepo): classify vendored OpenAPI specs as client routes (#206)

The OpenAPI extractor defaults every spec to role=server, demoting to
client only for the openapi/client/ directory convention. Mobile apps
vendor the specs of services they call in a bare openapi/ dir, so those
were indexed as served endpoints: an Android app acquired inbound edges
from three backends and 28 unused-route findings.

Add a pre-link binder demoting a repo's OpenAPI routes to role=client when
the repo ships a native-app HTTP client (retrofit/urlsession/swift-endpoint/
dart) and declares no server route outside a spec. The native-app marker is
positive evidence, so spec-first backends serving only from api/openapi/*.yml
are untouched. Rewritten facts carry vendored_spec=true, keeping the change
auditable and reversible.

Also add "loading" to uiRouteTypes: a Next.js loading.tsx under a single
dynamic segment extracts as "/{}", matching any one-segment client call
with a path parameter.