Skip to content

Conversation

@wotjd4305
Copy link

풀리퀘안했네!

return ResponseEntity.ok(flag);
}

@GetMapping("/findByUsingEmail/{email}")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

url은 이렇게 서술하는 느낌일일 필요가 없을것 같아

return new Docket(DocumentationType.SWAGGER_2)
.select()
.apis(RequestHandlerSelectors.any()) // 현재 RequestMapping으로 할당된 모든 URL 리스트를 추출
.paths(PathSelectors.ant("/api/**")) // 그중 /api/** 인 URL들만 필터링
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

????왜?

import org.springframework.web.bind.annotation.*;

@RestController
@RequestMapping("/account") //경로
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

이걸 api/account하면 되는뎅

}
AccountChangeNameResDto accountChangeNameResDto = new AccountChangeNameResDto(input_name);

//삭제하고 다시넣어주나?
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

삭제하고 다시 넣으면 안됑
너가 repository를 이용해서 가져온 객체의 값을 바꾸면 jpa의 더티체크란 기능덕에 자동으로 값이 변경되서 저장돼

}

@Transactional
public AccountFindAllUserDto findAllUser() {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

이건 잘만든것 같아

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants