This is a Wildfly swarm microservice example.
mvn clean install
java -jar target/wildfly-swarm-hello-swarm.jar
mvn wildfly-swarm:run
The service listens on port 8098
Try : http://127.0.0.1:8098/api/hello/world
You should get a response like this:
{"greeting":"Hi world"}