Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: generated swagger #600

Merged
merged 1 commit into from
Jun 25, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
87 changes: 87 additions & 0 deletions docs/static/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20100,6 +20100,31 @@ definitions:
type: object
type: array
type: object
slinky.oracle.v1.GetCurrencyPairMappingResponse:
description: >-
GetCurrencyPairMappingResponse is the GetCurrencyPairMapping response
type.
properties:
currency_pair_mapping:
additionalProperties:
properties:
Base:
type: string
Quote:
type: string
title: >-
CurrencyPair is the standard representation of a pair of assets,
where one

(Base) is priced in terms of the other (Quote)
type: object
description: >-
currency_pair_mapping is a mapping of the id representing the currency
pair

to the currency pair itself.
type: object
type: object
slinky.oracle.v1.GetPriceResponse:
description: >-
GetPriceResponse is the response from the GetPrice grpc method exposed
Expand Down Expand Up @@ -44707,6 +44732,68 @@ paths:
for.
tags:
- Query
/slinky/oracle/v1/get_currency_pair_mapping:
get:
operationId: GetCurrencyPairMapping
responses:
'200':
description: A successful response.
schema:
description: >-
GetCurrencyPairMappingResponse is the GetCurrencyPairMapping
response type.
properties:
currency_pair_mapping:
additionalProperties:
properties:
Base:
type: string
Quote:
type: string
title: >-
CurrencyPair is the standard representation of a pair of
assets, where one

(Base) is priced in terms of the other (Quote)
type: object
description: >-
currency_pair_mapping is a mapping of the id representing the
currency pair

to the currency pair itself.
type: object
type: object
default:
description: An unexpected error response.
schema:
properties:
code:
format: int32
type: integer
details:
items:
properties:
type_url:
type: string
value:
format: byte
type: string
type: object
type: array
error:
type: string
message:
type: string
type: object
summary: >-
Get the mapping of currency pair ID -> currency pair. This is useful for

indexers that have access to the ID of a currency pair, but no way to
get

the underlying currency pair from it.
tags:
- Query
/slinky/oracle/v1/get_price:
get:
operationId: GetPrice
Expand Down
Loading