Skip to content

Commit 8d557a7

Browse files
docs: add arbitrum-mainnet server in swagger (#37)
1 parent 549a6f8 commit 8d557a7

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

api/openapi.yaml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,11 @@ info:
99
url: http://www.apache.org/licenses/LICENSE-2.0.html
1010
servers:
1111
- url: https://api.market.iex.ec
12+
description: Bellecour
13+
- url: https://api.market.arbitrum-mainnet.iex.ec
14+
description: Arbitrum mainnet
1215
- url: http://localhost:3000
16+
description: Local server
1317

1418
paths:
1519
/version:
@@ -891,8 +895,7 @@ components:
891895
description: chain id
892896
required: true
893897
schema:
894-
type: number
895-
example: 134
898+
$ref: '#/components/schemas/ChainIdEnum'
896899
Authorization:
897900
name: authorization
898901
in: header
@@ -927,6 +930,10 @@ components:
927930
type: number
928931

929932
schemas:
933+
ChainIdEnum:
934+
type: number
935+
enum: [134, 42161, 421614]
936+
description: Supported chain IDs
930937
ApiResponse:
931938
properties:
932939
ok:

0 commit comments

Comments
 (0)