@foreach ($routes as $id => $route) @php $color = 'info'; switch ($route['Method']) { case 'GET': $color = 'info'; break; case 'POST': $color = 'success'; break; case 'PUT': $color = 'warning'; break; case 'DELETE': $color = 'danger'; break; } @endphp
{{ $route['Method'] }} {{ $route['Uri'] }}
Description
{{ $route['Description'] }}
Parameters
@foreach ($route['Parameters'] as $parameter) @endforeach
Name Type Comment
{{ $parameter['name'] }} {{ $parameter['type'] }} {{ $parameter['comment'] }}
Returns
{{ $route['Returns'] ?? 'NULL' }}
@endforeach