Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SearchTransactionsRequest.Operator Optional #67

Merged
merged 4 commits into from
Nov 9, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
7 changes: 3 additions & 4 deletions api.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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": {
Expand Down
3 changes: 1 addition & 2 deletions api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -1546,7 +1546,6 @@ components:
type: object
required:
- network_identifier
- operator
properties:
network_identifier:
$ref: '#/components/schemas/NetworkIdentifier'
Expand Down
3 changes: 3 additions & 0 deletions models/Operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down