Added swagger API documentation.