Skip to content

Commit 02192e4

Browse files
committed
added swagger
1 parent dac6830 commit 02192e4

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

swagger.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
openapi: '3.0.2'
2+
info:
3+
title: Namada Supply API
4+
version: '1.0.0'
5+
servers:
6+
- url: https://localhost:5002
7+
- url: https://supply.testnet.siuuu.click
8+
paths:
9+
/api/v1/total-supply:
10+
get:
11+
responses:
12+
'200':
13+
description: The total NAM supply
14+
content:
15+
text/plain:
16+
schema:
17+
type: number
18+
/api/v1/effective-supply:
19+
get:
20+
responses:
21+
'200':
22+
description: The effective NAM supply
23+
content:
24+
text/plain:
25+
schema:
26+
type: number
27+
/api/v1/circulating-supply:
28+
get:
29+
responses:
30+
'200':
31+
description: The circulating NAM supply
32+
content:
33+
text/plain:
34+
schema:
35+
type: number

0 commit comments

Comments
 (0)