Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add swagger definitions for jim APIs and document the APIs #368

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

jmholzinger
Copy link

@jmholzinger jmholzinger commented Jun 9, 2021

I recently started using MailHog as an SMTP test server and found Jim to be useful. I needed to configure Jim to reject all auth requests, but I had set up MailHog via docker. I noticed that Jim can be enabled and disabled from the UI, so I dug a little deeper and reverse engineered what the UI was doing.

I found that an API was introduced for controlling Jim a while back:
mailhog/MailHog-Server@1094ce8

This API accepts a configuration for Jim. I found that using the API is more flexible than passing in flags when starting MailHog. Since I found the API useful I decided to document my findings and open a pull request so that other people are aware of this functionality.

@gedge
Copy link
Member

gedge commented Sep 29, 2021

this looks great - I hope to get more time soon to go through it better 👏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants