Skip to content

feat(api): stabilize API and client contracts - #18

Merged
ShashankShekhar31 merged 4 commits into
masterfrom
feat/api-client-contract-stabilization
Sep 23, 2026
Merged

ShashankShekhar31 merged 4 commits into
masterfrom
feat/api-client-contract-stabilization

Conversation

@ShashankShekhar31

Copy link
Copy Markdown
Owner

API & Client Contract Stabilization

Summary

  • Added versioned API contract definitions for the v1 REST API.
  • Added generated OpenAPI TypeScript definitions and OpenAPI JSON output.
  • Standardized shared HTTP success/error response types.
  • Centralized API error handling across the Fastify server.
  • Stabilized authentication, health, logout, and refresh route response contracts.
  • Added explicit request/response schemas and API documentation metadata.
  • Preserved request correlation IDs through API responses.
  • Added and expanded error-handler test coverage.
  • Maintained API rate limiting and security controls.
  • Updated API package dependencies and lockfile as required.

Validation

  • pnpm audit --audit-level high — passed
  • pnpm run format:check — passed
  • pnpm lint — passed
  • pnpm typecheck — passed
  • pnpm --filter @crypto-wallet/storage migrate-all — passed
  • pnpm test — passed
  • pnpm build — passed
  • git diff --check — passed

Scope

This PR completes API & Client Contract Stabilization

@ShashankShekhar31
ShashankShekhar31 merged commit c8fd2fd into master Sep 23, 2026
2 checks passed
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