docs.php 731 B

1234567891011121314151617181920212223242526272829
  1. <?php
  2. /**
  3. * @OA\Info(
  4. * title="Swagger Petstore",
  5. * description="A sample API that uses a petstore as an example to demonstrate features in the swagger-2.0 specification",
  6. * version="1.0.0",
  7. * @OA\Contact(
  8. * email="apiteam@swagger.io",
  9. * name="Swagger API Team",
  10. * url="http://swagger.io"
  11. * ),
  12. * @OA\License(
  13. * name="MIT",
  14. * url="http://github.com/gruntjs/grunt/blob/master/LICENSE-MIT"
  15. * ),
  16. * termsOfService="http://swagger.io/terms/"
  17. * )
  18. * @OA\OpenApi(
  19. * @OA\Server(
  20. * url="petstore.swagger.io",
  21. * description="API server"
  22. * ),
  23. * @OA\ExternalDocumentation(
  24. * description="find more info here",
  25. * url="https://swagger.io/about"
  26. * )
  27. * )
  28. */