diff --git a/api.json b/api.json index 90fcb2f..fca88f7 100644 --- a/api.json +++ b/api.json @@ -1,7 +1,7 @@ { "openapi":"3.0.2", "info": { - "version":"1.4.7", + "version":"1.4.8", "title":"Rosetta", "description":"Build Once. Integrate Your Blockchain Everywhere.", "license": { @@ -1533,7 +1533,7 @@ ] }, "Operator": { - "description":"Operator is used by query-related endpoints to determine how to apply conditions.", + "description":"Operator is used by query-related endpoints to determine how to apply conditions. If this field is not populated, the default `and` value will be used.", "type":"string", "enum": [ "or", @@ -2278,8 +2278,7 @@ "description":"SearchTransactionsRequest is used to search for transactions matching a set of provided conditions in canonical blocks.", "type":"object", "required": [ - "network_identifier", - "operator" + "network_identifier" ], "properties": { "network_identifier": { diff --git a/api.yaml b/api.yaml index 1fa844d..4a19f58 100644 --- a/api.yaml +++ b/api.yaml @@ -14,7 +14,7 @@ openapi: 3.0.2 info: - version: 1.4.7 + version: 1.4.8 title: Rosetta description: | Build Once. Integrate Your Blockchain Everywhere. @@ -1546,7 +1546,6 @@ components: type: object required: - network_identifier - - operator properties: network_identifier: $ref: '#/components/schemas/NetworkIdentifier' diff --git a/models/Operator.yaml b/models/Operator.yaml index ebf286f..71b165b 100644 --- a/models/Operator.yaml +++ b/models/Operator.yaml @@ -15,6 +15,9 @@ description: | Operator is used by query-related endpoints to determine how to apply conditions. + + If this field is not populated, the default + `and` value will be used. type: string enum: - or