ResponseField.php 424 B

1234567891011121314151617181920212223
  1. <?php
  2. namespace Knuckles\Camel\Extraction;
  3. use Knuckles\Camel\BaseDTO;
  4. class ResponseField extends BaseDTO
  5. {
  6. // TODO make this extend Parameter, so we can have strong types and a unified API
  7. // but first we need to normalize incoming data
  8. /** @var string */
  9. public $name;
  10. /** @var string */
  11. public $description;
  12. /** @var string */
  13. public $type;
  14. public array $enumValues = [];
  15. }