[GH-ISSUE #494] swagger api doc not in sync #319

Closed
opened 2026-03-15 13:52:14 +03:00 by kerem · 4 comments
Owner

Originally created by @BrechtBD on GitHub (May 12, 2025).
Original GitHub issue: https://github.com/axllent/mailpit/issues/494

Hi,

Could it be that the swagger api doc is not in sync with the actual api?
https://raw.githubusercontent.com/axllent/mailpit/master/server/ui/api/v1/swagger.json

for instance ListUnsubscribe is not available in the Message ref

Thank you in advance!

Originally created by @BrechtBD on GitHub (May 12, 2025). Original GitHub issue: https://github.com/axllent/mailpit/issues/494 Hi, Could it be that the swagger api doc is not in sync with the actual api? https://raw.githubusercontent.com/axllent/mailpit/master/server/ui/api/v1/swagger.json for instance ListUnsubscribe is not available in the Message ref Thank you in advance!
kerem closed this issue 2026-03-15 13:52:19 +03:00
Author
Owner

@axllent commented on GitHub (May 13, 2025):

Hi @BrechtBD. The API docs are in sync, however the ListUnsubscribe was specifically excluded after the functionality was initially released pending testing and feedback. Unfortunately I overlooked adding it to the swagger/API docs. I will release a new version of Mailpit in the coming days. Thanks for reporting this.

<!-- gh-comment-id:2875415025 --> @axllent commented on GitHub (May 13, 2025): Hi @BrechtBD. The API docs are in sync, however the `ListUnsubscribe` was specifically excluded after the functionality was initially released pending testing and feedback. Unfortunately I overlooked adding it to the swagger/API docs. I will release a new version of Mailpit in the coming days. Thanks for reporting this.
Author
Owner

@BrechtBD commented on GitHub (May 14, 2025):

@axllent The same applies for the field client in MessagesSummary, that also appears to be missing

<!-- gh-comment-id:2881365333 --> @BrechtBD commented on GitHub (May 14, 2025): @axllent The same applies for the field `client` in `MessagesSummary`, that also appears to be missing
Author
Owner

@axllent commented on GitHub (May 15, 2025):

I believe you mean count - This was a legacy field which was deprecated in 2023. It was left in to prevent breakage. It's excluded from the docs for that very reason.

<!-- gh-comment-id:2882140050 --> @axllent commented on GitHub (May 15, 2025): I believe you mean `count` - This was a legacy field which was deprecated in 2023. It was left in to prevent breakage. It's excluded from the docs for that very reason.
Author
Owner

@axllent commented on GitHub (May 17, 2025):

The ListUnsubscribe information is now included in the API docs / swagger & latest Mailpit release. Thanks for reporting this.

<!-- gh-comment-id:2888636664 --> @axllent commented on GitHub (May 17, 2025): The `ListUnsubscribe` information is now included in the API docs / swagger & latest [Mailpit release](https://github.com/axllent/mailpit/releases/tag/v1.25.0). Thanks for reporting this.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/mailpit#319
No description provided.