From 182ad92430805a9b5c6e9cc6cb67a7e820bd40c3 Mon Sep 17 00:00:00 2001 From: Patrick O'Grady Date: Mon, 9 Nov 2020 09:23:18 -0800 Subject: [PATCH 1/4] make operator optional --- api.yaml | 1 - models/Operator.yaml | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/api.yaml b/api.yaml index 1fa844d..51bb5fd 100644 --- a/api.yaml +++ b/api.yaml @@ -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 From c9d841c73ff01c474520e2051a118eaf704bde23 Mon Sep 17 00:00:00 2001 From: Patrick O'Grady Date: Mon, 9 Nov 2020 09:24:06 -0800 Subject: [PATCH 2/4] make gen --- api.json | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/api.json b/api.json index 90fcb2f..547c78d 100644 --- a/api.json +++ b/api.json @@ -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": { From 184480f903434957e1884036a84509d669dfa29d Mon Sep 17 00:00:00 2001 From: Patrick O'Grady Date: Mon, 9 Nov 2020 09:27:03 -0800 Subject: [PATCH 3/4] update version --- api.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api.yaml b/api.yaml index 51bb5fd..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. From 81ad4647821aca8c31b87292d84fa17d5c34d12a Mon Sep 17 00:00:00 2001 From: Patrick O'Grady Date: Mon, 9 Nov 2020 09:27:14 -0800 Subject: [PATCH 4/4] make gen --- api.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api.json b/api.json index 547c78d..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": {