Skip to content

Commit c76deb3

Browse files
committed
Add not implemented response
1 parent 1899445 commit c76deb3

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

Diff for: validator/client/src/main/java/tech/pegasys/teku/validator/client/restapi/apis/DeleteGraffiti.java

+1
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ public DeleteGraffiti() {
4040
"Successfully removed the graffiti, or there was no graffiti set for the requested public key.")
4141
.withAuthenticationResponses()
4242
.withNotFoundResponse()
43+
.withNotImplementedResponse()
4344
.build());
4445
}
4546

Diff for: validator/client/src/test/resources/tech/pegasys/teku/validator/client/restapi/paths/_eth_v1_validator_{pubkey}_graffiti.json

+10
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,16 @@
5252
}
5353
}
5454
},
55+
"501" : {
56+
"description" : "Not implemented",
57+
"content" : {
58+
"application/json" : {
59+
"schema" : {
60+
"$ref" : "#/components/schemas/HttpErrorResponse"
61+
}
62+
}
63+
}
64+
},
5565
"400" : {
5666
"description" : "The request could not be processed, check the response for more information.",
5767
"content" : {

0 commit comments

Comments
 (0)