mirror of
https://github.com/colinear-labs/chain.git
synced 2026-03-05 11:24:25 -08:00
scaffold base auction & nextAuction types
This commit is contained in:
300
docs/static/openapi.yml
vendored
300
docs/static/openapi.yml
vendored
@@ -20122,6 +20122,219 @@ paths:
|
||||
format: int64
|
||||
tags:
|
||||
- Query
|
||||
/cosmos-test/cosmostest/auction:
|
||||
get:
|
||||
summary: Queries a list of Auction items.
|
||||
operationId: CosmostestCosmostestAuctionAll
|
||||
responses:
|
||||
'200':
|
||||
description: A successful response.
|
||||
schema:
|
||||
type: object
|
||||
properties:
|
||||
auction:
|
||||
type: array
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
index:
|
||||
type: string
|
||||
name:
|
||||
type: string
|
||||
description:
|
||||
type: string
|
||||
bids:
|
||||
type: string
|
||||
highestBid:
|
||||
type: string
|
||||
pagination:
|
||||
type: object
|
||||
properties:
|
||||
next_key:
|
||||
type: string
|
||||
format: byte
|
||||
title: |-
|
||||
next_key is the key to be passed to PageRequest.key to
|
||||
query the next page most efficiently
|
||||
total:
|
||||
type: string
|
||||
format: uint64
|
||||
title: >-
|
||||
total is total number of results available if
|
||||
PageRequest.count_total
|
||||
|
||||
was set, its value is undefined otherwise
|
||||
description: >-
|
||||
PageResponse is to be embedded in gRPC response messages where
|
||||
the
|
||||
|
||||
corresponding request message has used PageRequest.
|
||||
|
||||
message SomeResponse {
|
||||
repeated Bar results = 1;
|
||||
PageResponse page = 2;
|
||||
}
|
||||
default:
|
||||
description: An unexpected error response.
|
||||
schema:
|
||||
type: object
|
||||
properties:
|
||||
code:
|
||||
type: integer
|
||||
format: int32
|
||||
message:
|
||||
type: string
|
||||
details:
|
||||
type: array
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
'@type':
|
||||
type: string
|
||||
additionalProperties: {}
|
||||
parameters:
|
||||
- name: pagination.key
|
||||
description: |-
|
||||
key is a value returned in PageResponse.next_key to begin
|
||||
querying the next page most efficiently. Only one of offset or key
|
||||
should be set.
|
||||
in: query
|
||||
required: false
|
||||
type: string
|
||||
format: byte
|
||||
- name: pagination.offset
|
||||
description: >-
|
||||
offset is a numeric offset that can be used when key is unavailable.
|
||||
|
||||
It is less efficient than using key. Only one of offset or key
|
||||
should
|
||||
|
||||
be set.
|
||||
in: query
|
||||
required: false
|
||||
type: string
|
||||
format: uint64
|
||||
- name: pagination.limit
|
||||
description: >-
|
||||
limit is the total number of results to be returned in the result
|
||||
page.
|
||||
|
||||
If left empty it will default to a value to be set by each app.
|
||||
in: query
|
||||
required: false
|
||||
type: string
|
||||
format: uint64
|
||||
- name: pagination.count_total
|
||||
description: >-
|
||||
count_total is set to true to indicate that the result set should
|
||||
include
|
||||
|
||||
a count of the total number of items available for pagination in
|
||||
UIs.
|
||||
|
||||
count_total is only respected when offset is used. It is ignored
|
||||
when key
|
||||
|
||||
is set.
|
||||
in: query
|
||||
required: false
|
||||
type: boolean
|
||||
- name: pagination.reverse
|
||||
description: >-
|
||||
reverse is set to true if results are to be returned in the
|
||||
descending order.
|
||||
|
||||
|
||||
Since: cosmos-sdk 0.43
|
||||
in: query
|
||||
required: false
|
||||
type: boolean
|
||||
tags:
|
||||
- Query
|
||||
'/cosmos-test/cosmostest/auction/{index}':
|
||||
get:
|
||||
summary: Queries a Auction by index.
|
||||
operationId: CosmostestCosmostestAuction
|
||||
responses:
|
||||
'200':
|
||||
description: A successful response.
|
||||
schema:
|
||||
type: object
|
||||
properties:
|
||||
auction:
|
||||
type: object
|
||||
properties:
|
||||
index:
|
||||
type: string
|
||||
name:
|
||||
type: string
|
||||
description:
|
||||
type: string
|
||||
bids:
|
||||
type: string
|
||||
highestBid:
|
||||
type: string
|
||||
default:
|
||||
description: An unexpected error response.
|
||||
schema:
|
||||
type: object
|
||||
properties:
|
||||
code:
|
||||
type: integer
|
||||
format: int32
|
||||
message:
|
||||
type: string
|
||||
details:
|
||||
type: array
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
'@type':
|
||||
type: string
|
||||
additionalProperties: {}
|
||||
parameters:
|
||||
- name: index
|
||||
in: path
|
||||
required: true
|
||||
type: string
|
||||
tags:
|
||||
- Query
|
||||
/cosmos-test/cosmostest/next_auction:
|
||||
get:
|
||||
summary: Queries a NextAuction by index.
|
||||
operationId: CosmostestCosmostestNextAuction
|
||||
responses:
|
||||
'200':
|
||||
description: A successful response.
|
||||
schema:
|
||||
type: object
|
||||
properties:
|
||||
NextAuction:
|
||||
type: object
|
||||
properties:
|
||||
auctionId:
|
||||
type: string
|
||||
format: uint64
|
||||
default:
|
||||
description: An unexpected error response.
|
||||
schema:
|
||||
type: object
|
||||
properties:
|
||||
code:
|
||||
type: integer
|
||||
format: int32
|
||||
message:
|
||||
type: string
|
||||
details:
|
||||
type: array
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
'@type':
|
||||
type: string
|
||||
additionalProperties: {}
|
||||
tags:
|
||||
- Query
|
||||
/cosmos-test/cosmostest/params:
|
||||
get:
|
||||
summary: Parameters queries the parameters of the module.
|
||||
@@ -47178,9 +47391,96 @@ definitions:
|
||||
description: >-
|
||||
MsgCreateVestingAccountResponse defines the Msg/CreateVestingAccount
|
||||
response type.
|
||||
cosmostest.cosmostest.Auction:
|
||||
type: object
|
||||
properties:
|
||||
index:
|
||||
type: string
|
||||
name:
|
||||
type: string
|
||||
description:
|
||||
type: string
|
||||
bids:
|
||||
type: string
|
||||
highestBid:
|
||||
type: string
|
||||
cosmostest.cosmostest.NextAuction:
|
||||
type: object
|
||||
properties:
|
||||
auctionId:
|
||||
type: string
|
||||
format: uint64
|
||||
cosmostest.cosmostest.Params:
|
||||
type: object
|
||||
description: Params defines the parameters for the module.
|
||||
cosmostest.cosmostest.QueryAllAuctionResponse:
|
||||
type: object
|
||||
properties:
|
||||
auction:
|
||||
type: array
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
index:
|
||||
type: string
|
||||
name:
|
||||
type: string
|
||||
description:
|
||||
type: string
|
||||
bids:
|
||||
type: string
|
||||
highestBid:
|
||||
type: string
|
||||
pagination:
|
||||
type: object
|
||||
properties:
|
||||
next_key:
|
||||
type: string
|
||||
format: byte
|
||||
title: |-
|
||||
next_key is the key to be passed to PageRequest.key to
|
||||
query the next page most efficiently
|
||||
total:
|
||||
type: string
|
||||
format: uint64
|
||||
title: >-
|
||||
total is total number of results available if
|
||||
PageRequest.count_total
|
||||
|
||||
was set, its value is undefined otherwise
|
||||
description: |-
|
||||
PageResponse is to be embedded in gRPC response messages where the
|
||||
corresponding request message has used PageRequest.
|
||||
|
||||
message SomeResponse {
|
||||
repeated Bar results = 1;
|
||||
PageResponse page = 2;
|
||||
}
|
||||
cosmostest.cosmostest.QueryGetAuctionResponse:
|
||||
type: object
|
||||
properties:
|
||||
auction:
|
||||
type: object
|
||||
properties:
|
||||
index:
|
||||
type: string
|
||||
name:
|
||||
type: string
|
||||
description:
|
||||
type: string
|
||||
bids:
|
||||
type: string
|
||||
highestBid:
|
||||
type: string
|
||||
cosmostest.cosmostest.QueryGetNextAuctionResponse:
|
||||
type: object
|
||||
properties:
|
||||
NextAuction:
|
||||
type: object
|
||||
properties:
|
||||
auctionId:
|
||||
type: string
|
||||
format: uint64
|
||||
cosmostest.cosmostest.QueryParamsResponse:
|
||||
type: object
|
||||
properties:
|
||||
|
||||
Reference in New Issue
Block a user