Skip to content

Commit

Permalink
Add missing apiResponse for group and map api
Browse files Browse the repository at this point in the history
  • Loading branch information
ianwallen committed Dec 31, 2023
1 parent 1f16287 commit 075fcb3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -357,6 +357,7 @@ public ResponseEntity<Integer> addGroup(
method = RequestMethod.GET)
@ResponseStatus(value = HttpStatus.OK)
@ApiResponses(value = {
@ApiResponse(responseCode = "200", description = "Group information for the group id supplied."),
@ApiResponse(responseCode = "404", description = ApiParams.API_RESPONSE_RESOURCE_NOT_FOUND)
})
@ResponseBody
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ public class MapServersApi {
@ResponseStatus(HttpStatus.OK)
@PreAuthorize("hasAuthority('Editor')")
@ApiResponses(value = {
@ApiResponse(responseCode = "200", description = "Map Results"),
@ApiResponse(responseCode = "403", description = ApiParams.API_RESPONSE_NOT_ALLOWED_ONLY_EDITOR)
})
List<AnonymousMapserver> getMapservers() throws Exception {
Expand Down

0 comments on commit 075fcb3

Please sign in to comment.