Skip to content

Commit

Permalink
add docs
Browse files Browse the repository at this point in the history
  • Loading branch information
xxl4 committed Dec 9, 2024
1 parent 241d207 commit 162d31c
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions src/Docs/V1/CheckoutCod/Controller/Products/ProductsController.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
<?php

namespace NexaMerchant\CheckoutCod\Docs\V1\CheckoutCod\Controller\Products;

class ProductsController {

/**
* @OA\Get(
* path="/products/details/{slug}",
* operationId="getProducts Details",
* tags={"Products"},
* summary="Get product details",
* description="Returns product details",
* @OA\Response(
* response=200,
* description="Successful operation",
* ),
* @OA\Response(
* response=400,
* description="Bad request"
* ),
* @OA\Response(
* response=401,
* description="Unauthenticated"
* ),
* @OA\Response(
* response=403,
* description="Forbidden"
* ),
* @OA\Response(
* response=404,
* description="Resource Not Found"
* )
* )
*/
public function getProductDetail() {
}
}

0 comments on commit 162d31c

Please sign in to comment.