misc-api.php 639 B

123456789101112131415161718192021222324252627282930
  1. <?php
  2. /**
  3. * @OA\Info(
  4. * title="Testing annotations from bugreports",
  5. * version="1.0.0"
  6. * )
  7. */
  8. /**
  9. * @OA\Get(
  10. * path="/api/endpoint",
  11. * @OA\Parameter(name="filter",in="query", @OA\JsonContent(
  12. * @OA\Property(property="type", type="string"),
  13. * @OA\Property(property="color", type="string"),
  14. * )),
  15. * @OA\Response(response=200, description="Success")
  16. * )
  17. */
  18. /**
  19. * @OA\Server(
  20. * url="{schema}://host.dev",
  21. * description="OpenApi parameters",
  22. * @OA\ServerVariable(
  23. * serverVariable="schema",
  24. * enum={"https", "http"},
  25. * default="https"
  26. * )
  27. * )
  28. */