Description
Add @nestjs/swagger decorators (@ApiOperation, @ApiResponse, @ApiQuery) to every route in analytics.controller.ts so the module shows up correctly in the app's Swagger docs.
Why this matters
Frontend and integration consumers of the analytics API need discoverable, accurate API documentation instead of reading controller source directly.
Files to touch
backend/src/analytics/analytics.controller.ts
Acceptance Criteria
Notes
This issue is part of the new analytics module effort (tracking, aggregation,
and reporting on player/game activity). Please keep new code inside
backend/src/analytics/ following the same module/controller/service/provider
layout used by existing modules (e.g. progress, streak, quests).
Description
Add
@nestjs/swaggerdecorators (@ApiOperation,@ApiResponse,@ApiQuery) to every route inanalytics.controller.tsso the module shows up correctly in the app's Swagger docs.Why this matters
Frontend and integration consumers of the analytics API need discoverable, accurate API documentation instead of reading controller source directly.
Files to touch
backend/src/analytics/analytics.controller.tsAcceptance Criteria
@ApiPropertydecorators with example valuesNotes
This issue is part of the new
analyticsmodule effort (tracking, aggregation,and reporting on player/game activity). Please keep new code inside
backend/src/analytics/following the same module/controller/service/providerlayout used by existing modules (e.g.
progress,streak,quests).