api.php 790 B

123456789101112131415161718192021222324252627282930313233
  1. <?php
  2. /**
  3. * @SWG\Swagger(
  4. * @SWG\Info(
  5. * version="1.0.0",
  6. * title="Swagger Petstore",
  7. * @SWG\License(name="MIT")
  8. * ),
  9. * host="petstore.swagger.io",
  10. * basePath="/v1",
  11. * schemes={"http"},
  12. * consumes={"application/json"},
  13. * produces={"application/json"},
  14. * @SWG\Definition(
  15. * definition="Error",
  16. * required={"code", "message"},
  17. * @SWG\Property(
  18. * property="code",
  19. * type="integer",
  20. * format="int32"
  21. * ),
  22. * @SWG\Property(
  23. * property="message",
  24. * type="string"
  25. * )
  26. * ),
  27. * @SWG\Definition(definition="Pets",
  28. * type="array",
  29. * @SWG\Items(ref="#/definitions/Pet")
  30. * )
  31. * )
  32. */