Skip to content

Commit

Permalink
chore: upgrade to latest openapi (ethereum#409)
Browse files Browse the repository at this point in the history
Co-authored-by: Paul Harris <[email protected]>
  • Loading branch information
jeluard and rolfyone authored Jan 15, 2024
1 parent 42e7dd5 commit 0d2aa4c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion beacon-node-oapi.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
openapi: "3.0.3"
openapi: "3.1.0"

info:
title: "Eth Beacon Node API"
Expand Down
5 changes: 3 additions & 2 deletions types/p2p.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,9 @@ Peer:
peer_id:
$ref: "./p2p.yaml#/PeerId"
enr:
nullable: true
$ref: "./p2p.yaml#/ENR"
oneOf:
- type: "null"
- $ref: "./p2p.yaml#/ENR"
last_seen_p2p_address:
allOf:
- $ref: "./p2p.yaml#/Multiaddr"
Expand Down

0 comments on commit 0d2aa4c

Please sign in to comment.