mirror of
https://github.com/axllent/mailpit.git
synced 2026-04-26 16:56:00 +03:00
[GH-ISSUE #494] swagger api doc not in sync #319
Labels
No labels
awaiting feedback
bug
docker
documentation
enhancement
github_actions
invalid
pull-request
question
stale
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/mailpit#319
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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!
@axllent commented on GitHub (May 13, 2025):
Hi @BrechtBD. The API docs are in sync, however the
ListUnsubscribewas 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.@BrechtBD commented on GitHub (May 14, 2025):
@axllent The same applies for the field
clientinMessagesSummary, that also appears to be missing@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.@axllent commented on GitHub (May 17, 2025):
The
ListUnsubscribeinformation is now included in the API docs / swagger & latest Mailpit release. Thanks for reporting this.