Skip to content

Commit

Permalink
updated the response type of get /beacon/committees to array (#1772)
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Harris <paul.harris@consensys.net>
  • Loading branch information
rolfyone committed May 12, 2020
1 parent 103b59e commit 2c03585
Showing 1 changed file with 3 additions and 1 deletion.
Expand Up @@ -65,7 +65,9 @@ public GetCommittees(ChainDataProvider provider, JsonProvider jsonProvider) {
},
description = "Returns committee assignments for each slot in a specified epoch.",
responses = {
@OpenApiResponse(status = RES_OK, content = @OpenApiContent(from = Committee.class)),
@OpenApiResponse(
status = RES_OK,
content = @OpenApiContent(from = Committee.class, isArray = true)),
@OpenApiResponse(status = RES_BAD_REQUEST, description = "Missing a query parameter"),
@OpenApiResponse(status = RES_NO_CONTENT, description = NO_CONTENT_PRE_GENESIS),
@OpenApiResponse(status = RES_INTERNAL_ERROR)
Expand Down

0 comments on commit 2c03585

Please sign in to comment.