docs.php 791 B

123456789101112131415161718192021222324252627282930
  1. <?php
  2. /**
  3. * @SWG\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. * @SWG\Contact(
  8. * email="apiteam@swagger.io",
  9. * name="Swagger API Team",
  10. * url="http://swagger.io"
  11. * ),
  12. * @SWG\License(
  13. * name="MIT",
  14. * url="http://github.com/gruntjs/grunt/blob/master/LICENSE-MIT"
  15. * ),
  16. * termsOfService="http://swagger.io/terms/"
  17. * )
  18. * @SWG\Swagger(
  19. * host="petstore.swagger.io",
  20. * basePath="/api",
  21. * schemes={"http"},
  22. * produces={"application/json"},
  23. * consumes={"application/json"},
  24. * @SWG\ExternalDocumentation(
  25. * description="find more info here",
  26. * url="https://swagger.io/about"
  27. * )
  28. * )
  29. */