Skip to content
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

Implementation for the GET Offers by userId endpoint #23

Merged
merged 54 commits into from
Jul 14, 2020
Merged

Conversation

kat-ka
Copy link
Contributor

@kat-ka kat-ka commented Jul 7, 2020

Returns

  • 200 with an Offer Page in the response body when the request parameter value userId is not empty
  • 400 for missing or empty userId and an error message in the response body

Uses Pageable for managing the result list by page, size and sort. Default values are

  • 0 for page
  • 10 for size with maximum limit 1000
  • sort by startDate and startTime

Test cases are included.

There are also some Gradle build management updates and some more details in the deployment description file.

Fixes issues found in the Swagger editor online tool concerning api-doc's component security schemes.

@kat-ka kat-ka linked an issue Jul 7, 2020 that may be closed by this pull request
@kat-ka kat-ka requested a review from yncyrydybyl July 7, 2020 15:43
@kat-ka kat-ka merged commit cf32de2 into master Jul 14, 2020
@kat-ka kat-ka deleted the issue-21 branch July 14, 2020 07:55
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.

Functionality for the GET Offers endpoint
2 participants