Skip to content

Add endpoint to export retrospective as JSON or Markdown#29

Merged
Mewbi merged 1 commit intomasterfrom
feat/export_retrospective
Jan 31, 2026
Merged

Add endpoint to export retrospective as JSON or Markdown#29
Mewbi merged 1 commit intomasterfrom
feat/export_retrospective

Conversation

@Mewbi
Copy link
Member

@Mewbi Mewbi commented Jan 31, 2026

This pull request introduces an export feature for retrospectives, allowing users to export retrospective data as either JSON or Markdown. The main changes include a new API endpoint, request/response types, validation, and the Markdown conversion logic. Below are the most important changes grouped by theme:

API Enhancements:

  • Added a new endpoint /retrospective/export to export retrospectives in either JSON or Markdown format, including request validation and appropriate error handling. [1] [2]
  • Introduced the RetrospectiveExportRequest type and ExportType enum to specify export parameters and supported formats. [1] [2]

Business Logic:

  • Implemented the ConvertRetrospectiveToMarkdown method in the service package to generate a Markdown-formatted export of a retrospective.

Validation:

  • Added validation logic for RetrospectiveExportRequest, ensuring valid retrospective IDs and export types.

Dependency Injection:

  • Updated the ScheduleParams struct to include a Logger dependency, ensuring logging is available throughout the schedule lifecycle.

@Mewbi Mewbi merged commit cabc9b6 into master Jan 31, 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