Skip to content

Commit

Permalink
crate message createPost
Browse files Browse the repository at this point in the history
  • Loading branch information
james.zhang committed Mar 28, 2022
1 parent 0aa2941 commit 66aa2b8
Show file tree
Hide file tree
Showing 17 changed files with 6,654 additions and 3,483 deletions.
2 changes: 2 additions & 0 deletions docs/static/openapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47027,6 +47027,8 @@ definitions:
description: >-
QueryAppVersionResponse is the response type for the Query/AppVersion RPC
method.
jameszhangbing.checkers.checkers.MsgCreatePostResponse:
type: object
jameszhangbing.checkers.checkers.Params:
type: object
description: Params defines the parameters for the module.
Expand Down
12 changes: 11 additions & 1 deletion proto/checkers/tx.proto
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,17 @@ option go_package = "github.com/james-zhang-bing/checkers/x/checkers/types";

// Msg defines the Msg service.
service Msg {
// this line is used by starport scaffolding # proto/tx/rpc
rpc CreatePost(MsgCreatePost) returns (MsgCreatePostResponse);
// this line is used by starport scaffolding # proto/tx/rpc
}

message MsgCreatePost {
string creator = 1;
string title = 2;
string body = 3;
}

message MsgCreatePostResponse {
}

// this line is used by starport scaffolding # proto/tx/message
Loading

0 comments on commit 66aa2b8

Please sign in to comment.