Skip to content

Commit 366a325

Browse files
fix: Remove incorrectly added functions when creating OpenAPI documentation (#507)
1 parent 99917f4 commit 366a325

1 file changed

Lines changed: 5 additions & 17 deletions

File tree

app/Http/Controllers/Apis/Protected/Summit/OAuth2SummitPresentationActionTypeApiController.php

Lines changed: 5 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -177,10 +177,7 @@ protected function updateChild(Summit $summit, int $child_id, array $payload): I
177177
new OA\Response(response: Response::HTTP_INTERNAL_SERVER_ERROR, description: "Server Error"),
178178
]
179179
)]
180-
public function add($summit_id)
181-
{
182-
return parent::add($summit_id);
183-
}
180+
// From Trait: public function add($summit_id)
184181

185182
/**
186183
* @param $summit_id
@@ -225,10 +222,7 @@ public function add($summit_id)
225222
new OA\Response(response: Response::HTTP_INTERNAL_SERVER_ERROR, description: "Server Error"),
226223
]
227224
)]
228-
public function get($summit_id, $action_id)
229-
{
230-
return parent::get($summit_id, $action_id);
231-
}
225+
// public function get($summit_id, $action_id)
232226

233227
/**
234228
* @param $summit_id
@@ -277,10 +271,7 @@ public function get($summit_id, $action_id)
277271
new OA\Response(response: Response::HTTP_INTERNAL_SERVER_ERROR, description: "Server Error"),
278272
]
279273
)]
280-
public function update($summit_id, $action_id)
281-
{
282-
return parent::update($summit_id, $action_id);
283-
}
274+
// public function update($summit_id, $action_id)
284275

285276
/**
286277
* @param $summit_id
@@ -320,10 +311,7 @@ public function update($summit_id, $action_id)
320311
new OA\Response(response: Response::HTTP_INTERNAL_SERVER_ERROR, description: "Server Error"),
321312
]
322313
)]
323-
public function delete($summit_id, $action_id)
324-
{
325-
return parent::delete($summit_id, $action_id);
326-
}
314+
// public function delete($summit_id, $action_id)
327315

328316
/**
329317
* @param $summit_id
@@ -560,4 +548,4 @@ function () use ($summit) {
560548
sprintf('summit_presentation_action_types-%s', $summit_id)
561549
);
562550
}
563-
}
551+
}

0 commit comments

Comments
 (0)