RequestBody.php 607 B

12345678910111213141516171819202122232425262728293031
  1. <?php
  2. /**
  3. * @license Apache 2.0
  4. */
  5. /**
  6. *
  7. * @OA\RequestBody(
  8. * request="Pet",
  9. * description="Pet object that needs to be added to the store",
  10. * required=true,
  11. * @OA\JsonContent(ref="#/components/schemas/Pet"),
  12. * @OA\MediaType(
  13. * mediaType="application/xml",
  14. * @OA\Schema(ref="#/components/schemas/Pet")
  15. * )
  16. * )
  17. */
  18. /**
  19. * @OA\RequestBody(
  20. * request="UserArray",
  21. * description="List of user object",
  22. * required=true,
  23. * @OA\JsonContent(
  24. * type="array",
  25. * @OA\Items(ref="#/components/schemas/User")
  26. * )
  27. * )
  28. */