fmt & leftovers from previous scaffold

master
michael 2022-08-30 21:21:21 +00:00
parent 7ecb5a9fe8
commit 3eb2cd36c4
3 changed files with 47 additions and 45 deletions

View File

@ -20143,15 +20143,13 @@ paths:
type: string type: string
description: description:
type: string type: string
bids: topBid:
type: array type: object
items: properties:
type: object owner:
properties: type: string
owner: amount:
type: string type: string
amount:
type: string
pagination: pagination:
type: object type: object
properties: properties:
@ -20244,6 +20242,16 @@ paths:
in: query in: query
required: false required: false
type: boolean 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: tags:
- Query - Query
'/cosmos-test/cosmostest/auction/{index}': '/cosmos-test/cosmostest/auction/{index}':
@ -20265,15 +20273,13 @@ paths:
type: string type: string
description: description:
type: string type: string
bids: topBid:
type: array type: object
items: properties:
type: object owner:
properties: type: string
owner: amount:
type: string type: string
amount:
type: string
default: default:
description: An unexpected error response. description: An unexpected error response.
schema: schema:
@ -47400,15 +47406,13 @@ definitions:
type: string type: string
description: description:
type: string type: string
bids: topBid:
type: array type: object
items: properties:
type: object owner:
properties: type: string
owner: amount:
type: string type: string
amount:
type: string
cosmostest.cosmostest.Bid: cosmostest.cosmostest.Bid:
type: object type: object
properties: properties:
@ -47446,15 +47450,13 @@ definitions:
type: string type: string
description: description:
type: string type: string
bids: topBid:
type: array type: object
items: properties:
type: object owner:
properties: type: string
owner: amount:
type: string type: string
amount:
type: string
pagination: pagination:
type: object type: object
properties: properties:
@ -47492,15 +47494,13 @@ definitions:
type: string type: string
description: description:
type: string type: string
bids: topBid:
type: array type: object
items: properties:
type: object owner:
properties: type: string
owner: amount:
type: string type: string
amount:
type: string
cosmostest.cosmostest.QueryGetNextAuctionResponse: cosmostest.cosmostest.QueryGetNextAuctionResponse:
type: object type: object
properties: properties:

View File

@ -2,6 +2,7 @@ package keeper
import ( import (
"cosmos-test/x/cosmostest/types" "cosmos-test/x/cosmostest/types"
"github.com/cosmos/cosmos-sdk/store/prefix" "github.com/cosmos/cosmos-sdk/store/prefix"
sdk "github.com/cosmos/cosmos-sdk/types" sdk "github.com/cosmos/cosmos-sdk/types"
) )

View File

@ -4,6 +4,7 @@ import (
"context" "context"
"cosmos-test/x/cosmostest/types" "cosmos-test/x/cosmostest/types"
sdk "github.com/cosmos/cosmos-sdk/types" sdk "github.com/cosmos/cosmos-sdk/types"
"google.golang.org/grpc/codes" "google.golang.org/grpc/codes"
"google.golang.org/grpc/status" "google.golang.org/grpc/status"