Skip to content

Commit 3f8b8eb

Browse files
committed
update openapi file
1 parent 008256a commit 3f8b8eb

File tree

2 files changed

+59
-59
lines changed

2 files changed

+59
-59
lines changed

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

Lines changed: 32 additions & 32 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 Realtime 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
},
@@ -794,7 +794,7 @@
794794
"examples": {
795795
"Example response": {
796796
"value": {
797-
"time": "2025-05-14T12:53:07.6984803Z",
797+
"time": "2025-05-14T13:05:24.2729133Z",
798798
"asset_id_base": "BTC",
799799
"asset_id_quote": "USD",
800800
"rate": 10000.0
@@ -809,7 +809,7 @@
809809
"examples": {
810810
"Example response": {
811811
"value": {
812-
"time": "2025-05-14T12:53:07.6984803Z",
812+
"time": "2025-05-14T13:05:24.2729133Z",
813813
"asset_id_base": "BTC",
814814
"asset_id_quote": "USD",
815815
"rate": 10000.0
@@ -824,7 +824,7 @@
824824
"examples": {
825825
"Example response": {
826826
"value": {
827-
"time": "2025-05-14T12:53:07.6984803Z",
827+
"time": "2025-05-14T13:05:24.2729133Z",
828828
"asset_id_base": "BTC",
829829
"asset_id_quote": "USD",
830830
"rate": 10000.0
@@ -839,7 +839,7 @@
839839
"examples": {
840840
"Example response": {
841841
"value": {
842-
"time": "2025-05-14T12:53:07.6984803Z",
842+
"time": "2025-05-14T13:05:24.2729133Z",
843843
"asset_id_base": "BTC",
844844
"asset_id_quote": "USD",
845845
"rate": 10000.0
@@ -893,7 +893,7 @@
893893
"content": {
894894
"text/plain": {
895895
"schema": {
896-
"$ref": "#/components/schemas/v1.ExchangeRates`1"
896+
"$ref": "#/components/schemas/v1.ExchangeRates"
897897
},
898898
"examples": {
899899
"Example response": {
@@ -927,7 +927,7 @@
927927
},
928928
"application/json": {
929929
"schema": {
930-
"$ref": "#/components/schemas/v1.ExchangeRates`1"
930+
"$ref": "#/components/schemas/v1.ExchangeRates"
931931
},
932932
"examples": {
933933
"Example response": {
@@ -961,7 +961,7 @@
961961
},
962962
"text/json": {
963963
"schema": {
964-
"$ref": "#/components/schemas/v1.ExchangeRates`1"
964+
"$ref": "#/components/schemas/v1.ExchangeRates"
965965
},
966966
"examples": {
967967
"Example response": {
@@ -995,7 +995,7 @@
995995
},
996996
"application/x-msgpack": {
997997
"schema": {
998-
"$ref": "#/components/schemas/v1.ExchangeRates`1"
998+
"$ref": "#/components/schemas/v1.ExchangeRates"
999999
},
10001000
"examples": {
10011001
"Example response": {
@@ -1214,6 +1214,26 @@
12141214
"additionalProperties": false,
12151215
"description": "Represents an exchange rate."
12161216
},
1217+
"v1.ExchangeRates": {
1218+
"type": "object",
1219+
"properties": {
1220+
"asset_id_base": {
1221+
"type": "string",
1222+
"description": "Gets or sets the base asset ID.",
1223+
"nullable": true
1224+
},
1225+
"rates": {
1226+
"type": "array",
1227+
"items": {
1228+
"$ref": "#/components/schemas/v1.ExchangeRatesRate"
1229+
},
1230+
"description": "Gets or sets the list of exchange rates.",
1231+
"nullable": true
1232+
}
1233+
},
1234+
"additionalProperties": false,
1235+
"description": "Represents exchange rates for a specific base asset."
1236+
},
12171237
"v1.ExchangeRatesRate": {
12181238
"type": "object",
12191239
"properties": {
@@ -1236,26 +1256,6 @@
12361256
"additionalProperties": false,
12371257
"description": "Represents an exchange rate within a collection of exchange rates."
12381258
},
1239-
"v1.ExchangeRates`1": {
1240-
"type": "object",
1241-
"properties": {
1242-
"asset_id_base": {
1243-
"type": "string",
1244-
"description": "Gets or sets the base asset ID.",
1245-
"nullable": true
1246-
},
1247-
"rates": {
1248-
"type": "array",
1249-
"items": {
1250-
"$ref": "#/components/schemas/v1.ExchangeRatesRate"
1251-
},
1252-
"description": "Gets or sets the list of exchange rates.",
1253-
"nullable": true
1254-
}
1255-
},
1256-
"additionalProperties": false,
1257-
"description": "Represents exchange rates for a specific base asset."
1258-
},
12591259
"v1.Icon": {
12601260
"type": "object",
12611261
"properties": {

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

Lines changed: 27 additions & 27 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 Realtime 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-realtime.exrates.coinapi.io
@@ -688,7 +688,7 @@ paths:
688688
examples:
689689
Example response:
690690
value: {
691-
"time": "2025-05-14T12:53:08.4760029Z",
691+
"time": "2025-05-14T13:05:24.4203133Z",
692692
"asset_id_base": "BTC",
693693
"asset_id_quote": "USD",
694694
"rate": 10000.0
@@ -699,7 +699,7 @@ paths:
699699
examples:
700700
Example response:
701701
value: {
702-
"time": "2025-05-14T12:53:08.4760029Z",
702+
"time": "2025-05-14T13:05:24.4203133Z",
703703
"asset_id_base": "BTC",
704704
"asset_id_quote": "USD",
705705
"rate": 10000.0
@@ -710,7 +710,7 @@ paths:
710710
examples:
711711
Example response:
712712
value: {
713-
"time": "2025-05-14T12:53:08.4760029Z",
713+
"time": "2025-05-14T13:05:24.4203133Z",
714714
"asset_id_base": "BTC",
715715
"asset_id_quote": "USD",
716716
"rate": 10000.0
@@ -721,7 +721,7 @@ paths:
721721
examples:
722722
Example response:
723723
value: {
724-
"time": "2025-05-14T12:53:08.4760029Z",
724+
"time": "2025-05-14T13:05:24.4203133Z",
725725
"asset_id_base": "BTC",
726726
"asset_id_quote": "USD",
727727
"rate": 10000.0
@@ -756,7 +756,7 @@ paths:
756756
content:
757757
text/plain:
758758
schema:
759-
$ref: '#/components/schemas/v1.ExchangeRates`1'
759+
$ref: '#/components/schemas/v1.ExchangeRates'
760760
examples:
761761
Example response:
762762
value: {
@@ -786,7 +786,7 @@ paths:
786786
}
787787
application/json:
788788
schema:
789-
$ref: '#/components/schemas/v1.ExchangeRates`1'
789+
$ref: '#/components/schemas/v1.ExchangeRates'
790790
examples:
791791
Example response:
792792
value: {
@@ -816,7 +816,7 @@ paths:
816816
}
817817
text/json:
818818
schema:
819-
$ref: '#/components/schemas/v1.ExchangeRates`1'
819+
$ref: '#/components/schemas/v1.ExchangeRates'
820820
examples:
821821
Example response:
822822
value: {
@@ -846,7 +846,7 @@ paths:
846846
}
847847
application/x-msgpack:
848848
schema:
849-
$ref: '#/components/schemas/v1.ExchangeRates`1'
849+
$ref: '#/components/schemas/v1.ExchangeRates'
850850
examples:
851851
Example response:
852852
value: {
@@ -1020,6 +1020,21 @@ components:
10201020
format: double
10211021
additionalProperties: false
10221022
description: Represents an exchange rate.
1023+
v1.ExchangeRates:
1024+
type: object
1025+
properties:
1026+
asset_id_base:
1027+
type: string
1028+
description: Gets or sets the base asset ID.
1029+
nullable: true
1030+
rates:
1031+
type: array
1032+
items:
1033+
$ref: '#/components/schemas/v1.ExchangeRatesRate'
1034+
description: Gets or sets the list of exchange rates.
1035+
nullable: true
1036+
additionalProperties: false
1037+
description: Represents exchange rates for a specific base asset.
10231038
v1.ExchangeRatesRate:
10241039
type: object
10251040
properties:
@@ -1037,21 +1052,6 @@ components:
10371052
format: double
10381053
additionalProperties: false
10391054
description: Represents an exchange rate within a collection of exchange rates.
1040-
v1.ExchangeRates`1:
1041-
type: object
1042-
properties:
1043-
asset_id_base:
1044-
type: string
1045-
description: Gets or sets the base asset ID.
1046-
nullable: true
1047-
rates:
1048-
type: array
1049-
items:
1050-
$ref: '#/components/schemas/v1.ExchangeRatesRate'
1051-
description: Gets or sets the list of exchange rates.
1052-
nullable: true
1053-
additionalProperties: false
1054-
description: Represents exchange rates for a specific base asset.
10551055
v1.Icon:
10561056
type: object
10571057
properties:

0 commit comments

Comments
 (0)