Enhance TimeDateController API documentation
- Updated method descriptions for fetching server time and date to improve clarity. - Added grouping and subgroup annotations for better organization in API documentation. - These changes collectively enhance the usability and clarity of the TimeDateController in the Truncgil Finance application.
This commit is contained in:
@@ -11,7 +11,9 @@ use Illuminate\Http\JsonResponse;
|
|||||||
class TimeDateController extends Controller
|
class TimeDateController extends Controller
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Get the current server time.
|
* Get current server time.
|
||||||
|
* @group Time
|
||||||
|
* @subgroup Server Info
|
||||||
*
|
*
|
||||||
* @OA\Get(
|
* @OA\Get(
|
||||||
* path="/server-time",
|
* path="/server-time",
|
||||||
@@ -33,7 +35,9 @@ class TimeDateController extends Controller
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the current server date.
|
* Get current server date.
|
||||||
|
* @group Time
|
||||||
|
* @subgroup Server Info
|
||||||
*
|
*
|
||||||
* @OA\Get(
|
* @OA\Get(
|
||||||
* path="/server-date",
|
* path="/server-date",
|
||||||
|
|||||||
Reference in New Issue
Block a user