feat: 为 Admin/Token/AdminAnalytics/User/UserProfile Controller 补全 OpenAPI 注解
- AdminController: 4 个 @RequestParam 补全 @Parameter - TokenController: 调整 @Operation 注解顺序 - AdminAnalyticsController: 新增 @Tag + 6 个 @Operation - UserController: 新增 @Tag + 7 个 @Operation + 2 个 @Parameter - UserProfileController: 新增 @Tag + 7 个 @Operation Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -7,6 +7,9 @@ import com.emotion.dto.request.userprofile.UserProfilePageRequest;
|
||||
import com.emotion.dto.request.userprofile.UserProfileUpdateRequest;
|
||||
import com.emotion.dto.response.userprofile.UserProfileResponse;
|
||||
import com.emotion.service.UserProfileService;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
import io.swagger.v3.oas.annotations.Parameter;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.validation.annotation.Validated;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
@@ -22,6 +25,7 @@ import java.util.List;
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/user-profile")
|
||||
@Tag(name = "用户档案管理", description = "用户生命档案的增删改查和查询功能")
|
||||
public class UserProfileController {
|
||||
|
||||
@Autowired
|
||||
|
||||
Reference in New Issue
Block a user