REST APIs are a natural match for microservices, and using JAX-RS, Swarm provides a simple way deploy RESTFul APIs as standalone applications. Swarm also provides native integration with Swagger, which is a popular tool for providing documentation and an interactive UI on top of RESTful APIs.
Full article