diff --git a/src/Docs/V1/Upselling/Controllers/Orders/OrdersController.php b/src/Docs/V1/Upselling/Controllers/Orders/OrdersController.php index b563d37..6d9a5a6 100644 --- a/src/Docs/V1/Upselling/Controllers/Orders/OrdersController.php +++ b/src/Docs/V1/Upselling/Controllers/Orders/OrdersController.php @@ -269,35 +269,35 @@ public function getOrderById($id) { * ), * ), * ), - * @OA\Parameter( - * name="payment", - * in="query", - * description="Payment", - * required=true, - * @OA\Schema( - * type="object", - * @OA\Property(property="method", type="string", - * description="Payment method", - * example="paypal", - * ), - * @OA\Property(property="status", type="string", - * description="Payment status", - * example="completed", - * ), - * @OA\Property(property="total", type="number", format="float", - * description="Payment total", - * example="100.00", - * ), - * @OA\Property(property="currency", type="string", - * description="Payment currency", - * example="USD", - * ), - * @OA\Property(property="transaction_id", type="string", - * description="Payment transaction id", - * example="1234567890", - * ), - * ), - * ), + * @OA\Parameter( + * name="payment", + * in="query", + * description="Payment", + * required=true, + * @OA\Schema( + * type="object", + * @OA\Property(property="method", type="string", + * description="Payment method", + * example="paypal", + * ), + * @OA\Property(property="status", type="string", + * description="Payment status", + * example="completed", + * ), + * @OA\Property(property="total", type="number", format="float", + * description="Payment total", + * example="100.00", + * ), + * @OA\Property(property="currency", type="string", + * description="Payment currency", + * example="USD", + * ), + * @OA\Property(property="transaction_id", type="string", + * description="Payment transaction id", + * example="1234567890", + * ), + * ), + * ), * * * @OA\Response( diff --git a/src/Routes/api.php b/src/Routes/api.php index 25365f9..d3bf9e8 100644 --- a/src/Routes/api.php +++ b/src/Routes/api.php @@ -12,7 +12,7 @@ use NexaMerchant\Upselling\Http\Controllers\Api\OrderController; Route::group(['middleware' => ['api'], 'prefix' => 'api'], function () { - Route::prefix('upselling')->group(function () { + Route::prefix('v1/upselling')->group(function () { Route::controller(ExampleController::class)->prefix('example')->group(function () {