@include('scramble::dev-tools', ['renderer' => 'elements']) @php $verifMethods = ['get', 'post', 'put', 'patch', 'delete']; $verifGroups = []; foreach (($spec['paths'] ?? []) as $verifPath => $verifItem) { foreach ($verifItem as $verifMethod => $verifOp) { if (! in_array($verifMethod, $verifMethods, true) || empty($verifOp['operationId'])) { continue; } $verifGroups[$verifOp['tags'][0] ?? 'Lainnya'][] = [ 'id' => $verifOp['operationId'], 'method' => $verifMethod, 'label' => $verifOp['summary'] ?? $verifPath, 'path' => $verifPath, ]; } } @endphp
API Documentation
renderer()->all(except: ['theme']) as $key => $value) @continue(! $value) {{ $key }}="{{ $value === true ? 'true' : ($value === false ? 'false' : $value) }}" @endforeach /> @if($config->renderer()->get('theme', 'light') === 'system') @endif