Skip to content

Commit

Permalink
Remove unused 404 response (#5462)
Browse files Browse the repository at this point in the history
  • Loading branch information
courtneyeh authored May 10, 2022
1 parent 419aeab commit 2a09d6a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,16 +34,6 @@
}
}
},
"404" : {
"description" : "Not found",
"content" : {
"application/json" : {
"schema" : {
"$ref" : "#/components/schemas/HttpErrorResponse"
}
}
}
},
"400" : {
"description" : "The request could not be processed, check the response for more information.",
"content" : {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ public GetAttestations(final NodeDataProvider nodeDataProvider, final Spec spec)
.queryParam(SLOT_PARAMETER)
.queryParam(COMMITTEE_INDEX_PARAMETER)
.response(SC_OK, "Request successful", getResponseType(spec.getGenesisSpecConfig()))
.withNotFoundResponse()
.build());
this.nodeDataProvider = nodeDataProvider;
}
Expand Down

0 comments on commit 2a09d6a

Please sign in to comment.