Skip to content

Commit

Permalink
Merge pull request #600 from neutron-org/chore/swagger-gen-v4.0.1
Browse files Browse the repository at this point in the history
chore:  generated swagger
  • Loading branch information
pr0n00gler authored Jun 25, 2024
2 parents 80632ba + 67a9477 commit 9d205f0
Showing 1 changed file with 87 additions and 0 deletions.
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

0 comments on commit 9d205f0

Please sign in to comment.