ApiResponse.php 744 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <?php
  2. /**
  3. * @license Apache 2.0
  4. */
  5. namespace Petstore30;
  6. /**
  7. * Class ApiResponse
  8. *
  9. * @package Petstore30
  10. *
  11. * @author Donii Sergii <doniysa@gmail.com>
  12. *
  13. * @OA\Schema(
  14. * description="Api response",
  15. * title="Api response"
  16. * )
  17. */
  18. class ApiResponse
  19. {
  20. /**
  21. * @OA\Property(
  22. * description="Code",
  23. * title="Code",
  24. * format="int32"
  25. * )
  26. *
  27. * @var int
  28. */
  29. private $code;
  30. /**
  31. * OA\Property(
  32. * description="Type",
  33. * title="Type",
  34. * )
  35. *
  36. * @var string
  37. */
  38. private $type;
  39. /**
  40. * @OA\Property(
  41. * description="Message",
  42. * title="Message"
  43. * )
  44. *
  45. * @var string
  46. */
  47. private $message;
  48. }