Skip to content

Commit

Permalink
Merge pull request #425 from jonathankau/feature/tweak-time-intervals
Browse files Browse the repository at this point in the history
feat: tweak time intervals for historical prices
  • Loading branch information
vahnag authored Nov 14, 2024
2 parents 146e577 + 97a7d21 commit 909e076
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions prices/prices.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -342,10 +342,11 @@ components:
example: "2024-01-31T23:59:59Z"
interval:
type: string
description: Time interval for data points.
enum: [ "5m", "hourly", "daily" ]
default: "daily"
example: "daily"
description: >
Time interval for data points. Max ranges: (5m, 7d), (1h, 30d), (1d, 1yr)
enum: [ "5m", "1h", "1d" ]
default: "1d"
example: "1d"
- required: ["network", "address", "startTime", "endTime"]
properties:
network:
Expand Down Expand Up @@ -382,10 +383,11 @@ components:
example: "2024-01-31T23:59:59Z"
interval:
type: string
description: Time interval for data points.
enum: [ "5m", "hourly", "daily" ]
default: "daily"
example: "daily"
description: >
Time interval for data points. Max ranges: (5m, 7d), (1h, 30d), (1d, 1yr)
enum: [ "5m", "1h", "1d" ]
default: "1d"
example: "1d"

HistoricalPricesResponse:
type: object
Expand Down

0 comments on commit 909e076

Please sign in to comment.