coupon-admin/vendor/zircote/swagger-php/Examples/petstore.swagger.io/security.php

25 lines
464 B
PHP

<?php
/**
* @OA\SecurityScheme(
* securityScheme="api_key",
* type="apiKey",
* in="header",
* name="api_key"
* )
*/
/**
* @OA\SecurityScheme(
* securityScheme="petstore_auth",
* type="oauth2",
* @OA\Flow(
* authorizationUrl="http://petstore.swagger.io/oauth/dialog",
* flow="implicit",
* scopes={
* "read:pets": "read your pets",
* "write:pets": "modify pets in your account"
* }
* )
* )
*/