style: Laravel Pint 코드 포맷팅 적용
- PSR-12 스타일 가이드 준수 - 302개 파일 스타일 이슈 자동 수정 - 코드 로직 변경 없음 (포맷팅만)
This commit is contained in:
@@ -19,6 +19,7 @@
|
||||
* @OA\Schema(
|
||||
* schema="MenuMatrixAction",
|
||||
* type="object",
|
||||
*
|
||||
* @OA\Property(property="permission_id", type="integer", example=1),
|
||||
* @OA\Property(property="permission_code", type="string", example="menu:16.view"),
|
||||
* @OA\Property(property="guard_name", type="string", example="api"),
|
||||
@@ -29,6 +30,7 @@
|
||||
* @OA\Schema(
|
||||
* schema="MenuMatrixNode",
|
||||
* type="object",
|
||||
*
|
||||
* @OA\Property(property="menu_id", type="integer", example=16),
|
||||
* @OA\Property(property="parent_id", type="integer", nullable=true, example=10),
|
||||
* @OA\Property(property="name", type="string", example="스크린 작업"),
|
||||
@@ -46,6 +48,7 @@
|
||||
* @OA\Property(
|
||||
* property="children",
|
||||
* type="array",
|
||||
*
|
||||
* @OA\Items(ref="#/components/schemas/MenuMatrixNode")
|
||||
* )
|
||||
* )
|
||||
@@ -53,19 +56,22 @@
|
||||
* @OA\Schema(
|
||||
* schema="MenuMatrixPayload",
|
||||
* type="object",
|
||||
*
|
||||
* @OA\Property(
|
||||
* property="actions",
|
||||
* type="array",
|
||||
*
|
||||
* @OA\Items(type="string", example="view")
|
||||
* ),
|
||||
*
|
||||
* @OA\Property(
|
||||
* property="tree",
|
||||
* type="array",
|
||||
*
|
||||
* @OA\Items(ref="#/components/schemas/MenuMatrixNode")
|
||||
* )
|
||||
* )
|
||||
*/
|
||||
|
||||
class PermissionApi
|
||||
{
|
||||
/**
|
||||
@@ -75,19 +81,25 @@ class PermissionApi
|
||||
* description="부서 기준으로 메뉴 트리 및 액션별 권한 상태(allow/deny/none)를 반환합니다.",
|
||||
* tags={"Permission"},
|
||||
* security={{"ApiKeyAuth": {}},{"BearerAuth": {}}},
|
||||
*
|
||||
* @OA\Parameter(name="id", in="path", required=true, description="부서 ID", @OA\Schema(type="integer", example=1)),
|
||||
*
|
||||
* @OA\Response(
|
||||
* response=200,
|
||||
* description="부서 메뉴 권한 매트릭스 조회 성공",
|
||||
*
|
||||
* @OA\JsonContent(
|
||||
* allOf={
|
||||
*
|
||||
* @OA\Schema(ref="#/components/schemas/ApiResponse"),
|
||||
* @OA\Schema(
|
||||
*
|
||||
* @OA\Property(property="data", ref="#/components/schemas/MenuMatrixPayload")
|
||||
* )
|
||||
* }
|
||||
* )
|
||||
* ),
|
||||
*
|
||||
* @OA\Response(response=404, description="부서 없음", @OA\JsonContent(ref="#/components/schemas/ErrorResponse"))
|
||||
* )
|
||||
*/
|
||||
@@ -100,19 +112,25 @@ public function deptMenuMatrix() {}
|
||||
* description="스파티 기본 Role 기준으로 메뉴 트리 및 액션별 권한 상태(allow/deny/none)를 반환합니다.",
|
||||
* tags={"Permission"},
|
||||
* security={{"ApiKeyAuth": {}},{"BearerAuth": {}}},
|
||||
*
|
||||
* @OA\Parameter(name="id", in="path", required=true, description="역할 ID", @OA\Schema(type="integer", example=3)),
|
||||
*
|
||||
* @OA\Response(
|
||||
* response=200,
|
||||
* description="역할 메뉴 권한 매트릭스 조회 성공",
|
||||
*
|
||||
* @OA\JsonContent(
|
||||
* allOf={
|
||||
*
|
||||
* @OA\Schema(ref="#/components/schemas/ApiResponse"),
|
||||
* @OA\Schema(
|
||||
*
|
||||
* @OA\Property(property="data", ref="#/components/schemas/MenuMatrixPayload")
|
||||
* )
|
||||
* }
|
||||
* )
|
||||
* ),
|
||||
*
|
||||
* @OA\Response(response=404, description="역할 없음", @OA\JsonContent(ref="#/components/schemas/ErrorResponse"))
|
||||
* )
|
||||
*/
|
||||
@@ -125,19 +143,25 @@ public function roleMenuMatrix() {}
|
||||
* description="사용자 기준으로 메뉴 트리 및 액션별 권한 상태(allow/deny/none)를 반환합니다.",
|
||||
* tags={"Permission"},
|
||||
* security={{"ApiKeyAuth": {}},{"BearerAuth": {}}},
|
||||
*
|
||||
* @OA\Parameter(name="id", in="path", required=true, description="사용자 ID", @OA\Schema(type="integer", example=12)),
|
||||
*
|
||||
* @OA\Response(
|
||||
* response=200,
|
||||
* description="유저 메뉴 권한 매트릭스 조회 성공",
|
||||
*
|
||||
* @OA\JsonContent(
|
||||
* allOf={
|
||||
*
|
||||
* @OA\Schema(ref="#/components/schemas/ApiResponse"),
|
||||
* @OA\Schema(
|
||||
*
|
||||
* @OA\Property(property="data", ref="#/components/schemas/MenuMatrixPayload")
|
||||
* )
|
||||
* }
|
||||
* )
|
||||
* ),
|
||||
*
|
||||
* @OA\Response(response=404, description="사용자 없음", @OA\JsonContent(ref="#/components/schemas/ErrorResponse"))
|
||||
* )
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user