Skip to content

refactor: Split Keymaster API routes#706

Merged
macterra merged 8 commits into
mainfrom
split-keymaster-api-routes
Jul 10, 2026
Merged

refactor: Split Keymaster API routes#706
macterra merged 8 commits into
mainfrom
split-keymaster-api-routes

Conversation

@macterra

Copy link
Copy Markdown
Collaborator

Summary

  • split the Keymaster v1 API handlers out of keymaster-api.ts into public, core, identity, credential, and content routers
  • move the admin API key middleware into keymaster-admin.ts and share dependencies through router options
  • update Swagger source discovery to read the new Keymaster router files in route order
  • document the Keymaster route-split ordering rule in AGENTS.md

Validation

  • npx tsc -p services/keymaster/server/tsconfig.json --noEmit
  • route inventory check: old 155 new 155, order unchanged
  • node --experimental-vm-modules node_modules/.bin/jest tests/keymaster/client.test.ts --runInBand
  • npm run generate-openapi with no generated docs content change

@macterra macterra changed the title Split Keymaster API routes refactor: Split Keymaster API routes Jul 10, 2026
@macterra macterra marked this pull request as ready for review July 10, 2026 16:57
@macterra macterra merged commit 513d1a3 into main Jul 10, 2026
28 checks passed
@macterra macterra deleted the split-keymaster-api-routes branch July 10, 2026 16:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant