Skip to content

Commit

Permalink
Fixed lint warnings (ethereum#330)
Browse files Browse the repository at this point in the history
  • Loading branch information
rolfyone authored Jun 21, 2023
1 parent a62aa81 commit 205bb82
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion apis/eventstream/index.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ get:
description: Event types to subscribe to
schema:
type: array
uniqueItems: true
items:
type: string
uniqueItems: true
enum:
- head
- block
Expand Down
2 changes: 1 addition & 1 deletion apis/validator/duties/attester.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ post:
schema:
title: GetAttesterDutiesBody
type: array
minItems: 1
items:
$ref: '../../../beacon-node-oapi.yaml#/components/schemas/Uint64'
minItems: 1
responses:
"200":
description: Success response
Expand Down
2 changes: 1 addition & 1 deletion apis/validator/duties/sync.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ post:
schema:
title: GetSyncCommitteeDutiesBody
type: array
minItems: 1
items:
$ref: '../../../beacon-node-oapi.yaml#/components/schemas/Uint64'
minItems: 1
responses:
"200":
description: Success response
Expand Down
2 changes: 1 addition & 1 deletion apis/validator/liveness.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ post:
schema:
title: PostLivenessRequestBody
type: array
minItems: 1
items:
$ref: '../../beacon-node-oapi.yaml#/components/schemas/Uint64'
minItems: 1
responses:
"200":
description: Success response
Expand Down
5 changes: 2 additions & 3 deletions types/p2p.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,8 @@ Peer:
peer_id:
$ref: "./p2p.yaml#/PeerId"
enr:
allOf:
- $ref: "./p2p.yaml#/ENR"
- nullable: true
nullable: true
$ref: "./p2p.yaml#/ENR"
last_seen_p2p_address:
allOf:
- $ref: "./p2p.yaml#/Multiaddr"
Expand Down

0 comments on commit 205bb82

Please sign in to comment.