Added swagger for API docs.