api.php 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <?php
  2. /**
  3. * @license Apache 2.0
  4. */
  5. /**
  6. * @OA\Info(
  7. * description="This is a sample Petstore server. You can find
  8. out more about Swagger at
  9. [http://swagger.io](http://swagger.io) or on
  10. [irc.freenode.net, #swagger](http://swagger.io/irc/).",
  11. * version="1.0.0",
  12. * title="Swagger Petstore",
  13. * termsOfService="http://swagger.io/terms/",
  14. * @OA\Contact(
  15. * email="apiteam@swagger.io"
  16. * ),
  17. * @OA\License(
  18. * name="Apache 2.0",
  19. * url="http://www.apache.org/licenses/LICENSE-2.0.html"
  20. * )
  21. * )
  22. */
  23. /**
  24. * @OA\Tag(
  25. * name="pet",
  26. * description="Everything about your Pets",
  27. * @OA\ExternalDocumentation(
  28. * description="Find out more",
  29. * url="http://swagger.io"
  30. * )
  31. * )
  32. * @OA\Tag(
  33. * name="store",
  34. * description="Access to Petstore orders",
  35. * )
  36. * @OA\Tag(
  37. * name="user",
  38. * description="Operations about user",
  39. * @OA\ExternalDocumentation(
  40. * description="Find out more about store",
  41. * url="http://swagger.io"
  42. * )
  43. * )
  44. * @OA\Server(
  45. * description="SwaggerHUB API Mocking",
  46. * url="https://virtserver.swaggerhub.com/swagger/Petstore/1.0.0"
  47. * )
  48. * @OA\ExternalDocumentation(
  49. * description="Find out more about Swagger",
  50. * url="http://swagger.io"
  51. * )
  52. */