security.php 464 B

123456789101112131415161718192021222324
  1. <?php
  2. /**
  3. * @OA\SecurityScheme(
  4. * securityScheme="api_key",
  5. * type="apiKey",
  6. * in="header",
  7. * name="api_key"
  8. * )
  9. */
  10. /**
  11. * @OA\SecurityScheme(
  12. * securityScheme="petstore_auth",
  13. * type="oauth2",
  14. * @OA\Flow(
  15. * authorizationUrl="http://petstore.swagger.io/oauth/dialog",
  16. * flow="implicit",
  17. * scopes={
  18. * "read:pets": "read your pets",
  19. * "write:pets": "modify pets in your account"
  20. * }
  21. * )
  22. * )
  23. */