Skip to content

Commit 0e918d6

Browse files
committed
update openapi file
1 parent 9813797 commit 0e918d6

File tree

2 files changed

+29
-29
lines changed

2 files changed

+29
-29
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"openapi": "3.0.1",
2+
"openapi": "3.0.1",
33
"info": {
44
"title": "REST API",
55
"contact": {
@@ -638,7 +638,7 @@
638638
"examples": {
639639
"Example response": {
640640
"value": {
641-
"time": "2025-05-14T12:18:00.9158186Z",
641+
"time": "2025-05-14T12:54:01.0184456Z",
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:18:00.9158186Z",
656+
"time": "2025-05-14T12:54:01.0184456Z",
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:18:00.9158186Z",
671+
"time": "2025-05-14T12:54:01.0184456Z",
672672
"asset_id_base": "BTC",
673673
"asset_id_quote": "USD",
674674
"rate": 10000.0

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

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
openapi: 3.0.1
22
info:
3-
title: REST API
3+
title: Exchange Rates Historical REST API
44
contact:
5-
name: COINAPI LTD
5+
name: API BRICKS LTD
66
url: https://www.coinapi.io
7-
email: support@coinapi.io
7+
email: support@apibricks.io
88
license:
99
name: MIT License
10-
url: https://github.com/coinapi/coinapi-sdk/blob/master/LICENSE
10+
url: https://github.com/api-bricks/api-bricks-sdk/blob/master/LICENSE
1111
version: v1
1212
servers:
1313
- url: https://api-historical.exrates.coinapi.io
@@ -544,7 +544,7 @@ paths:
544544
examples:
545545
Example response:
546546
value: {
547-
"time": "2025-05-14T12:18:01.0468307Z",
547+
"time": "2025-05-14T12:54:01.8275499Z",
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:18:01.0468307Z",
558+
"time": "2025-05-14T12:54:01.8275499Z",
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:18:01.0468307Z",
569+
"time": "2025-05-14T12:54:01.8275499Z",
570570
"asset_id_base": "BTC",
571571
"asset_id_quote": "USD",
572572
"rate": 10000.0
@@ -606,7 +606,7 @@ paths:
606606
content:
607607
text/plain:
608608
schema:
609-
$ref: '#/components/schemas/v1.ExchangeRates`1'
609+
$ref: '#/components/schemas/v1.ExchangeRates'
610610
examples:
611611
Example response:
612612
value: {
@@ -636,7 +636,7 @@ paths:
636636
}
637637
application/json:
638638
schema:
639-
$ref: '#/components/schemas/v1.ExchangeRates`1'
639+
$ref: '#/components/schemas/v1.ExchangeRates'
640640
examples:
641641
Example response:
642642
value: {
@@ -666,7 +666,7 @@ paths:
666666
}
667667
text/json:
668668
schema:
669-
$ref: '#/components/schemas/v1.ExchangeRates`1'
669+
$ref: '#/components/schemas/v1.ExchangeRates'
670670
examples:
671671
Example response:
672672
value: {
@@ -1111,6 +1111,21 @@ components:
11111111
format: double
11121112
additionalProperties: false
11131113
description: Represents an exchange rate.
1114+
v1.ExchangeRates:
1115+
type: object
1116+
properties:
1117+
asset_id_base:
1118+
type: string
1119+
description: Gets or sets the base asset ID.
1120+
nullable: true
1121+
rates:
1122+
type: array
1123+
items:
1124+
$ref: '#/components/schemas/v1.ExchangeRatesRate'
1125+
description: Gets or sets the list of exchange rates.
1126+
nullable: true
1127+
additionalProperties: false
1128+
description: Represents exchange rates for a specific base asset.
11141129
v1.ExchangeRatesRate:
11151130
type: object
11161131
properties:
@@ -1171,21 +1186,6 @@ components:
11711186
nullable: true
11721187
additionalProperties: false
11731188
description: Represents an item in the exchange rate timeseries.
1174-
v1.ExchangeRates`1:
1175-
type: object
1176-
properties:
1177-
asset_id_base:
1178-
type: string
1179-
description: Gets or sets the base asset ID.
1180-
nullable: true
1181-
rates:
1182-
type: array
1183-
items:
1184-
$ref: '#/components/schemas/v1.ExchangeRatesRate'
1185-
description: Gets or sets the list of exchange rates.
1186-
nullable: true
1187-
additionalProperties: false
1188-
description: Represents exchange rates for a specific base asset.
11891189
v1.Icon:
11901190
type: object
11911191
properties:

0 commit comments

Comments
 (0)