fix: 회원가입 API 응답 구조 개선
- RegisterService: roles 응답에서 permissions 배열 제거 - menus 배열로 접근 가능한 메뉴 확인 가능하므로 중복 제거 - Swagger 문서 업데이트 (permissions 스키마 제거)
This commit is contained in:
@@ -90,6 +90,19 @@
|
||||
* @OA\Property(property="is_external", type="integer", example=0, description="외부 링크 여부 (0: 내부, 1: 외부)"),
|
||||
* @OA\Property(property="external_url", type="string", example=null, nullable=true, description="외부 링크 URL")
|
||||
* )
|
||||
* ),
|
||||
* @OA\Property(
|
||||
* property="roles",
|
||||
* type="array",
|
||||
* description="생성된 역할 목록 (시스템 관리자 역할 1개)",
|
||||
*
|
||||
* @OA\Items(
|
||||
* type="object",
|
||||
*
|
||||
* @OA\Property(property="id", type="integer", example=1, description="역할 ID"),
|
||||
* @OA\Property(property="name", type="string", example="system_manager", description="역할명"),
|
||||
* @OA\Property(property="description", type="string", example="시스템 관리자", description="역할 설명")
|
||||
* )
|
||||
* )
|
||||
* )
|
||||
* )
|
||||
|
||||
Reference in New Issue
Block a user