Pet.php 325 B

123456789101112131415161718192021222324252627
  1. <?php
  2. namespace petstore;
  3. /**
  4. * @OA\Schema(required={"id", "name"})
  5. */
  6. class Pet
  7. {
  8. /**
  9. * @OA\Property(type="integer", format="int64")
  10. */
  11. public $id;
  12. /**
  13. * @OA\Property()
  14. * @var string
  15. */
  16. public $name;
  17. /**
  18. * @OA\Property()
  19. * @var string
  20. */
  21. public $tag;
  22. }