Files
kulakpos_web/vendor/knuckleswtf/scribe/camel/Extraction/ResponseField.php

32 lines
555 B
PHP
Raw Normal View History

2026-04-18 19:47:13 +07:00
<?php
namespace Knuckles\Camel\Extraction;
use Knuckles\Camel\BaseDTO;
class ResponseField extends BaseDTO
{
// TODO make this extend Parameter, so we can have strong types and a unified API
// but first we need to normalize incoming data
/** @var string */
public $name;
/** @var string */
public $description;
/** @var string */
public $type;
/** @var bool */
public $required;
/** @var mixed */
public $example;
public array $enumValues = [];
/** @var bool */
public $nullable;
}