PullRequest.php 414 B

123456789101112131415161718192021222324252627282930313233
  1. <?php
  2. namespace OpenApi\LinkExample;
  3. /**
  4. * @OA\Schema(schema="pullrequest")
  5. */
  6. class Repository
  7. {
  8. /**
  9. * @OA\Property()
  10. * @var integer
  11. */
  12. public $id;
  13. /**
  14. * @OA\Property()
  15. * @var string
  16. */
  17. public $title;
  18. /**
  19. * @OA\Property()
  20. * @var Repository
  21. */
  22. public $repository;
  23. /**
  24. * @OA\Property()
  25. * @var User
  26. */
  27. public $author;
  28. }