Answers for "swagger path parameter sample"

1

swagger path parameter sample

// header:

     *
     *  @OA\Parameter(
     *       name="X-Proxy-Token",
     *       required=true,
     *       in="header",
     *       example="XXXXXXXXXXXXXXXXXX",
     *       @OA\Schema(
     *           type="string"
     *       )
     *   ),
     *
     
// path:

     *  @OA\Parameter(
     *       name="productName",
     *       required=true,
     *       in="path",
     *       example="XXXXXXXXXXXXXXXXXX",
     *       @OA\Schema(
     *           type="string"
     *       )
     *   ),
     *
Posted by: Guest on October-21-2021

Browse Popular Code Answers by Language