Added swagger functionality