Add Tides Controller and Tests
Closed this issue · 0 comments
github-actions commented
Acceptance Criteria:
- There is TidesController.java file in the
src/main/java/edu/ucsb/cs156/spring/backend/controllers
directory. - TidesController.java implements a class that implements an API endpoint that takes in the necessary
parameters, calls the TidesQueryService, and returns the results. - The file TidesController.java file make appropriate use of the
annotations@Tag
,@Operation
and@Parameter
to document the API. - The controller endpoint shows up on the Swagger UI page.
- There is a TidesControllerTests.java file in the
src/test/java/edu/ucsb/cs156/spring/backend/controllers
directory. - The tests in TidesControllerTests provide 100% coverage of TidesController for both jacoco and pitest.
Details
See the assignment description at https://ucsb-cs156.github.io/f23/lab/team01 for details.