%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/html/shaban/duassis/api/vendor/zircote/swagger-php/tests/Fixtures/
Upload File :
Create Path :
Current File : //var/www/html/shaban/duassis/api/vendor/zircote/swagger-php/tests/Fixtures/UsingRefs.php

<?php declare(strict_types=1);

namespace OpenApiFixtures;

/**
 * @OA\Info(title="Using a parameter definition", version="unittest")
 */
class UsingRefs
{

    /**
     * @OA\Get(
     *   path="/pi/{item_name}",
     *   summary="Get protected item",
     *   @OA\Parameter(ref="#/components/parameters/ItemName"),
     *   @OA\Response(
     *     response="default",
     *     ref="#/components/responses/Item"
     *   )
     * )
     */
    public function getProtectedItem()
    {
    }
}

/**
 * @OA\Parameter(
 *   name="ItemName",
 *   in="path",
 *   required=true,
 *   description="protected item name",
 * )
 */

/**
 * @OA\Response (
 *   response="Item",
 *   description="A protected item"
 * )
 */

Zerion Mini Shell 1.0