Add Zipcode Controller and Tests
Closed this issue · 0 comments
github-actions commented
Acceptance Criteria:
- There is ZipcodeController.java file in the
src/main/java/edu/ucsb/cs156/spring/backend/controllers
directory. - ZipcodeController.java implements a class that implements an API endpoint that takes in the necessary
parameters, calls the ZipcodeQueryService, and returns the results. - The file ZipcodeController.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 ZipcodeControllerTests.java file in the
src/test/java/edu/ucsb/cs156/spring/backend/controllers
directory. - The tests in ZipcodeControllerTests provide 100% coverage of ZipcodeController for both jacoco and pitest.
Details
See the assignment description at https://ucsb-cs156.github.io/f23/lab/team01 for details.