See how your app actually fits together. An interactive, plain-English map of your codebase, drawn by Claude or Codex.
JavaScript ai-codingarchitecture-diagramclaudeclaude-codeclaude-code-plugincodebase-visualizationcodexcodex-plugindeveloper-toolsonboardingopenaivibe-coding
Merge pull request #37
Hayden Smith8c77e557a869
diff --cc tests/health.test.mjsindex ed6139f,9a93316..b67e7d9--- a/tests/health.test.mjs+++ b/tests/health.test.mjs@@@ -44,20 -44,12 +44,26 @@@ test('FastAPI: Annotated dependency aliassert.deepEqual(openEndpoints(graph), ['POST /comments', 'POST /feedback']);});+test('FastAPI: public readiness and liveness endpoints are not security warnings (#7)', () => {+ const graph = buildFixture('fastapi-annotated');+ const paths = graph.routes.map((r) => r.p);+ assert.ok(paths.includes('/readyz'));+ assert.ok(paths.includes('/livez'));+ assert.ok(!openEndpoints(graph).includes('GET /readyz'));+ assert.ok(!openEndpoints(graph).includes('GET /livez'));+});++test('FastAPI: a named guard dependency is not a public endpoint (#7)', () => {+ const graph = buildFixture('fastapi-guard-name');+ assert.deepEqual(openEndpoints(graph), ['POST /billing/open']);+});++ test('FastAPI: header tokens are guarded only when the handler validates them (#7)', () => {+ const graph = buildFixture('fastapi-header-guard');+ assert.ok(graph.routes.some((r) => r.p === '/invites/checked'));+ assert.deepEqual(openEndpoints(graph), ['POST /invites/unchecked']);+ });+test('FastAPI: checks added where a router is included count as sign-in checks', () => {const graph = buildFixture('fastapi-include-router');assert.equal(graph.routes.length, 4, `expected the sample's 4 endpoints, found ${graph.routes.length}`);