Skip to content

Commit 2e9b5f8

Browse files
committed
update openapi file
1 parent 0e918d6 commit 2e9b5f8

File tree

2 files changed

+33
-33
lines changed

2 files changed

+33
-33
lines changed

coinapi/exchange-rates-api-rest-historical/spec/openapi.json

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
{
22
"openapi": "3.0.1",
33
"info": {
4-
"title": "REST API",
4+
"title": "Exchange Rates Historical REST API",
55
"contact": {
6-
"name": "COINAPI LTD",
6+
"name": "API BRICKS LTD",
77
"url": "https://www.coinapi.io",
8-
"email": "support@coinapi.io"
8+
"email": "support@apibricks.io"
99
},
1010
"license": {
1111
"name": "MIT License",
12-
"url": "https://github.com/coinapi/coinapi-sdk/blob/master/LICENSE"
12+
"url": "https://github.com/api-bricks/api-bricks-sdk/blob/master/LICENSE"
1313
},
1414
"version": "v1"
1515
},
@@ -638,7 +638,7 @@
638638
"examples": {
639639
"Example response": {
640640
"value": {
641-
"time": "2025-05-14T12:54:01.0184456Z",
641+
"time": "2025-05-14T13:03:29.4970763Z",
642642
"asset_id_base": "BTC",
643643
"asset_id_quote": "USD",
644644
"rate": 10000.0
@@ -653,7 +653,7 @@
653653
"examples": {
654654
"Example response": {
655655
"value": {
656-
"time": "2025-05-14T12:54:01.0184456Z",
656+
"time": "2025-05-14T13:03:29.4970763Z",
657657
"asset_id_base": "BTC",
658658
"asset_id_quote": "USD",
659659
"rate": 10000.0
@@ -668,7 +668,7 @@
668668
"examples": {
669669
"Example response": {
670670
"value": {
671-
"time": "2025-05-14T12:54:01.0184456Z",
671+
"time": "2025-05-14T13:03:29.4970763Z",
672672
"asset_id_base": "BTC",
673673
"asset_id_quote": "USD",
674674
"rate": 10000.0
@@ -730,7 +730,7 @@
730730
"content": {
731731
"text/plain": {
732732
"schema": {
733-
"$ref": "#/components/schemas/v1.ExchangeRates`1"
733+
"$ref": "#/components/schemas/v1.ExchangeRates"
734734
},
735735
"examples": {
736736
"Example response": {
@@ -764,7 +764,7 @@
764764
},
765765
"application/json": {
766766
"schema": {
767-
"$ref": "#/components/schemas/v1.ExchangeRates`1"
767+
"$ref": "#/components/schemas/v1.ExchangeRates"
768768
},
769769
"examples": {
770770
"Example response": {
@@ -798,7 +798,7 @@
798798
},
799799
"text/json": {
800800
"schema": {
801-
"$ref": "#/components/schemas/v1.ExchangeRates`1"
801+
"$ref": "#/components/schemas/v1.ExchangeRates"
802802
},
803803
"examples": {
804804
"Example response": {
@@ -1349,6 +1349,26 @@
13491349
"additionalProperties": false,
13501350
"description": "Represents an exchange rate."
13511351
},
1352+
"v1.ExchangeRates": {
1353+
"type": "object",
1354+
"properties": {
1355+
"asset_id_base": {
1356+
"type": "string",
1357+
"description": "Gets or sets the base asset ID.",
1358+
"nullable": true
1359+
},
1360+
"rates": {
1361+
"type": "array",
1362+
"items": {
1363+
"$ref": "#/components/schemas/v1.ExchangeRatesRate"
1364+
},
1365+
"description": "Gets or sets the list of exchange rates.",
1366+
"nullable": true
1367+
}
1368+
},
1369+
"additionalProperties": false,
1370+
"description": "Represents exchange rates for a specific base asset."
1371+
},
13521372
"v1.ExchangeRatesRate": {
13531373
"type": "object",
13541374
"properties": {
@@ -1424,26 +1444,6 @@
14241444
"additionalProperties": false,
14251445
"description": "Represents an item in the exchange rate timeseries."
14261446
},
1427-
"v1.ExchangeRates`1": {
1428-
"type": "object",
1429-
"properties": {
1430-
"asset_id_base": {
1431-
"type": "string",
1432-
"description": "Gets or sets the base asset ID.",
1433-
"nullable": true
1434-
},
1435-
"rates": {
1436-
"type": "array",
1437-
"items": {
1438-
"$ref": "#/components/schemas/v1.ExchangeRatesRate"
1439-
},
1440-
"description": "Gets or sets the list of exchange rates.",
1441-
"nullable": true
1442-
}
1443-
},
1444-
"additionalProperties": false,
1445-
"description": "Represents exchange rates for a specific base asset."
1446-
},
14471447
"v1.Icon": {
14481448
"type": "object",
14491449
"properties": {

coinapi/exchange-rates-api-rest-historical/spec/openapi.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -544,7 +544,7 @@ paths:
544544
examples:
545545
Example response:
546546
value: {
547-
"time": "2025-05-14T12:54:01.8275499Z",
547+
"time": "2025-05-14T13:03:29.6956196Z",
548548
"asset_id_base": "BTC",
549549
"asset_id_quote": "USD",
550550
"rate": 10000.0
@@ -555,7 +555,7 @@ paths:
555555
examples:
556556
Example response:
557557
value: {
558-
"time": "2025-05-14T12:54:01.8275499Z",
558+
"time": "2025-05-14T13:03:29.6956196Z",
559559
"asset_id_base": "BTC",
560560
"asset_id_quote": "USD",
561561
"rate": 10000.0
@@ -566,7 +566,7 @@ paths:
566566
examples:
567567
Example response:
568568
value: {
569-
"time": "2025-05-14T12:54:01.8275499Z",
569+
"time": "2025-05-14T13:03:29.6956196Z",
570570
"asset_id_base": "BTC",
571571
"asset_id_quote": "USD",
572572
"rate": 10000.0

0 commit comments

Comments
 (0)