{{ $jsonData['info']['name'] }}


{!! Parsedown::instance()->text($jsonData['info']['description']) !!}
@foreach ($jsonData['item'] as $api)

{{ $api['name'] }}


@if (isset($api['request']))

Request Method: {{ $api['request']['method'] }}

@if (isset($api['request']['auth']) && isset($api['request']['auth']['bearer']))

Authentication

Type: {{ $api['request']['auth']['type'] }}

@if (is_array($api['request']['auth']['bearer']) && count($api['request']['auth']['bearer']) > 0) @foreach ($api['request']['auth']['bearer'] as $bearer) @if (isset($bearer['key']) && isset($bearer['value']))

{{ $bearer['key'] }}: {{ $bearer['value'] }}

@endif @if (isset($bearer['type']) && isset($bearer['type']))

Data Type: `{{ $bearer['type'] }}`

@endif @endforeach @endif @endif @if (isset($api['request']['url']['raw']))
URL: {{ $api['request']['url']['raw'] }}
@else URL: URL not specified @endif

Headers

    @if (isset($api['request']['header'])) @foreach ($api['request']['header'] as $header)
  • {{ $header['key'] }}: {{ $header['value'] }}
  • @endforeach @else
  • No headers specified
  • @endif
@if (isset($api['request']['body']['raw']))

Body

 {{ $api['request']['body']['raw'] }}
@elseif(isset($api['request']['body']['mode']))

Body

 {{ json_encode($api['request']['body'], JSON_PRETTY_PRINT) }}
@else No body specified @endif @else

No request data available

@endif

Response

@if (empty($api['response']))

No response details available.

@else @if (isset($api['response']['message']))
{{ json_encode($api['response'], JSON_PRETTY_PRINT) }}
@endif @endif
@endforeach