Skip to content

Commit

Permalink
Rename BlockContents type definition
Browse files Browse the repository at this point in the history
  • Loading branch information
mehdi-aouadi committed Apr 18, 2023
1 parent d3b8d71 commit 05ac44c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"oneOf" : [ {
"$ref" : "#/components/schemas/ProduceBlockV2Response"
}, {
"$ref" : "#/components/schemas/ProduceBlockBlockContentsResponse"
"$ref" : "#/components/schemas/ProduceBlockContentsResponse"
} ]
}
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"title" : "ProduceBlockBlockContentsResponse",
"title" : "ProduceBlockContentsResponse",
"type" : "object",
"required" : [ "data", "version" ],
"properties" : {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ private static SerializableTypeDefinition<BeaconBlock> getBeaconBlockResponseTyp
private static SerializableTypeDefinition<BlockContents> getBlockContentsResponseType(
final SchemaDefinitionCache schemaDefinitionCache) {
return SerializableTypeDefinition.<BlockContents>object()
.name("ProduceBlockBlockContentsResponse")
.name("ProduceBlockContentsResponse")
.withField(
"data",
getAvailableSchemaDefinitionForAllMilestones(
Expand Down

0 comments on commit 05ac44c

Please sign in to comment.