update after stop build
All checks were successful
All checks were successful
This commit is contained in:
31
vendor/knuckleswtf/scribe/camel/Extraction/ResponseField.php
vendored
Normal file
31
vendor/knuckleswtf/scribe/camel/Extraction/ResponseField.php
vendored
Normal file
@@ -0,0 +1,31 @@
|
||||
<?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;
|
||||
}
|
||||
Reference in New Issue
Block a user