Skip to content

Conversation

@Just-Roman
Copy link
Owner

No description provided.

public ResponseEntity<Object> getBookingByOwnerIdWhereTime(@RequestHeader("X-Sharer-User-Id") long userId,
@RequestParam(name = "state", defaultValue = "all") String stateParam,
@PositiveOrZero @RequestParam(name = "from", defaultValue = "0") Integer from,
@Positive @RequestParam(name = "size", defaultValue = "10") Integer size) {

Choose a reason for hiding this comment

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

Если name = "size" совпадает с именем параметра метода, то name = "size" можно не указывать

Copy link

@VadimZharkov VadimZharkov left a comment

Choose a reason for hiding this comment

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

Очень хорошая работа, все сделано верно. Оставил один коммент, не принципиалный. Принимается.

@Just-Roman Just-Roman merged commit 04f7436 into main Jul 4, 2025
2 checks passed
@Just-Roman Just-Roman deleted the add-item-requests-and-gateway branch July 4, 2025 16:30
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