Skip to content

[User] 사용자 검색 API 구현 #232

@minahYu

Description

@minahYu

어떤 기능인가요?

입력 받은 검색어를 닉네임이나 이메일에 포함하고 있는 사용자를 검색하는 기능입니다.

request

특정 사용자를 찾기 위해 검색어(search)를 @ModelAttribute 방식으로 입력 받습니다.

URL & Method

GET /api/v1/user

header

header values description
Content-type application/json

response

body

{
    "data": {
        "users": [
            {
                "userId": 사용자 id,
                "email": 사용자 이메일,
                "username": 사용자 닉네임,
                "file": 사용자 프로필 이미지 파일명
            }
    ]
}

작업 상세 내용

  • 사용자 검색 API 구현
  • 사용자 검색 Controller 테스트 코드 작성

Metadata

Metadata

Assignees

Labels

API상세 api 문서Test테스트 코드User유저 관련기능enhancement추가 기능

Type

No type
No fields configured for issues without a type.

Projects

Status
Done

Relationships

None yet

Development

No branches or pull requests

Issue actions