Skip to content

Commit

Permalink
schemas/filter: fixup some bugs in null filter topics and address (#518)
Browse files Browse the repository at this point in the history
  • Loading branch information
lightclient authored Jan 27, 2024
1 parent b1b67ed commit df7b95f
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions src/schemas/filter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ Filter:
address:
title: Address(es)
oneOf:
- title: Any Address
type: 'null'
- title: Address
$ref: '#/components/schemas/address'
- title: Addresses
Expand All @@ -32,14 +34,17 @@ Filter:
$ref: '#/components/schemas/FilterTopics'
FilterTopics:
title: Filter Topics
type: array
items:
$ref: '#/components/schemas/FilterTopic'
oneOf:
- title: Any Topic Match
type: 'null'
- title: Specified Filter Topics
type: array
items:
$ref: '#/components/schemas/FilterTopic'

FilterTopic:
title: Filter Topic List Entry
oneOf:
- title: Any Topic Match
type: "null"
- title: Single Topic Match
$ref: '#/components/schemas/bytes32'
- title: Multiple Topic Match
Expand Down

0 comments on commit df7b95f

Please sign in to comment.