Added swagger documentation and API to ping service