Routes List



@foreach ($docs as $index => $doc)

{{$doc['methods'][0]}} {{$doc['uri']}}

@if (config('request-docs.show_development_metadata')) @foreach ($doc['middlewares'] as $middleware) @endforeach
HTTP Method {{$doc['httpMethod']}}
URL @{{window.location.origin}}/{{$doc['uri']}}
Controller {{$doc['controller_full_path']}}
Controller Method {{"@" .$doc['method']}}
Middleware {{ $loop->index + 1 }} {{$middleware}}
@endif

Description


{!! $doc['docBlock'] !!}
@if (!empty($doc['rules']))

Attributes


@foreach ($doc['rules'] as $attribute => $rules) @endforeach
No. Attributes Type Nullable Bail Rules
{{$loop->index+1}} {{$attribute}} @foreach ($rules as $rule) @if (str_contains($rule, 'required')) *required @endif @endforeach @foreach ($rules as $rule) @if (str_contains($rule, 'integer')) Integer @endif @if (str_contains($rule, 'numeric')) Numeric @endif @if (str_contains($rule, 'string')) String @endif @if (str_contains($rule, 'json')) JSON @endif @if (str_contains($rule, 'array')) Array @endif @if (str_contains($rule, 'date')) Date @endif @if (str_contains($rule, 'boolean')) Boolean @endif @if (str_contains($rule, 'file') || str_contains($rule, 'image')) File @endif @endforeach @foreach ($rules as $rule) @if (str_contains($rule, 'nullable')) Nullable @endif @endforeach @foreach ($rules as $rule) @if (str_contains($rule, 'bail')) Bail @endif @endforeach
@foreach ($rules as $rule) @foreach (explode('|', $rule) as $r) @if (!in_array($r, ['required', 'integer', 'string', 'boolean', 'array', 'nullable', 'bail', 'file', 'image', 'numeric'])) {{$r}} @if (!$loop->last) | @endif @endif @endforeach @endforeach
@endif

REQUEST URL *required

Enter your request URL with query params


@if (!in_array('GET', $doc['methods']))

REQUEST BODY *required

JSON body for the POST|PUT|DELETE request

@endif

RESPONSE

Response status, code and time.

Status SUCCESS ERROR
Status Code
Memory Usage
Response Time

Response headers.

Response from the server

SQL

No SQL queries executed for this request.

SQL queries executed for this request.

Total Queries
Total Query time ms

SQL queries

@{{index+1}}. @{{query.time}}ms

@endforeach