Wrapping microservices behind an API gateway