I'm aware that StraightMail was designed to stay within its own VPC network (not exposed to the outside), but in a dev environment, it is not uncommon to make the HTTP traffic available to the host, either via:
- port forwarding
- ngrok-alike tunnel
- traefik and
Host header routing
- path routing
- etc...
The current API location (according to swagger UI) is hardcoded:
|
url = "http://localhost:50003", |
Perhaps that can be dropped, letting swagger use the current host as server URI?