## {{$endpoint->getName()}}

`{{$endpoint->getMethod()}} {{$endpoint->getUri()}}`

{!! $endpoint->getDescription() !!}

@if (count($endpoint->getParams()) > 0)
### Parameters

| Name | Located in | Description | Type |
| ---- | ---------- | ----------- | ---- |
@foreach ($endpoint->getParams() as $param)
|{{$param->name}}|{{$param->in}}|{{$param->description}}|{{$param->type}}|
@endforeach
@endif

@if ($endpoint->getReturn()->getType() == CodeOrange\Jot\Docs\ReturnValue::$JSON)
```json
{!! $endpoint->getReturn()->getValue() !!}
```

@else()
### Response

{{$endpoint->getReturn()->getValue()}}
@endif

## {{$endpoint->getName()}}

`{{$endpoint->getMethod()}} {{$endpoint->getUri()}}`

{!! $endpoint->getDescription() !!}

@if (count($endpoint->getParams()) > 0)
### Parameters

| Name | Located in | Description | Type |
| ---- | ---------- | ----------- | ---- |
@foreach ($endpoint->getParams() as $param)
|{{$param->name}}|{{$param->in}}|{{$param->description}}|{{$param->type}}|
@endforeach
@endif

@if ($endpoint->getReturn()->getType() == CodeOrange\Jot\Docs\ReturnValue::$JSON)
> Response

```json
{!! $endpoint->getReturn()->getValue() !!}
```

@else()
### Response

{{$endpoint->getReturn()->getValue()}}
@endif

Add Response header to JSON response
Add Response header to JSON response
