-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sma 21 add endpoint that returns all sports #14
Sma 21 add endpoint that returns all sports #14
Conversation
* @return paginated list of SportDTO | ||
*/ | ||
@GetMapping("/all") | ||
public List<SportDTO> getSports(final Pageable pageable) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I realised that we might not need pagination for sports because there will probably only be at most 50 different sports. But lets keep it for now as an example
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I miss understood it sorry. I thought later there will be someting filter for it too like search in it or something like that
…nto SMA-21_Add_endpoint_that_returns_all_sports # Conflicts: # backend/sportsmatch/src/main/java/com/sportsmatch/repositories/SportRepository.java
651f561
…nto SMA-21_Add_endpoint_that_returns_all_sports
…nto SMA-21_Add_endpoint_that_returns_all_sports
Task: Add endpoint that returns all sports
Description: