Skip to content

[Backend] Add a response header identifying the API version #35

Description

@grantfox-oss

Files affected (3): Backend/src/app.ts, Backend/src/routes/health.routes.ts, Backend/tests/unit/health.test.ts
Description: Routes are versioned under /api/v1, but responses do not identify the API version for clients or debugging.
Acceptance criteria:

Return an X-API-Version: v1 header.

Test the header on health or API responses.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions