Skip to content

Commit

Permalink
chore: proto swagger
Browse files Browse the repository at this point in the history
* ibc transfer
  • Loading branch information
fx0x55 committed Dec 9, 2022
1 parent d8ea7cd commit 6da6b3b
Show file tree
Hide file tree
Showing 2 changed files with 2,477 additions and 749 deletions.
6 changes: 2 additions & 4 deletions develop/protoc-swagger-gen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@

set -eo pipefail

if [ -d "build/cosmos-sdk/proto/ibc/applications" ]; then
rm -rf "build/cosmos-sdk/proto/ibc/applications"
fi

if [ -d ./tmp-swagger-gen ]; then
rm -rf ./tmp-swagger-gen
fi
Expand All @@ -19,6 +15,7 @@ for dir in $proto_dirs; do
buf protoc \
-I "proto" \
-I "build/cosmos-sdk/proto" \
-I "build/ibc-go/proto" \
-I "build/cosmos-sdk/third_party/proto" \
"$query_file" \
--swagger_out=./tmp-swagger-gen \
Expand All @@ -35,6 +32,7 @@ for dir in $proto_dirs; do
if [[ ! -z "$query_file" ]]; then
buf protoc \
-I "build/cosmos-sdk/proto" \
-I "build/ibc-go/proto" \
-I "build/cosmos-sdk/third_party/proto" \
"$query_file" \
--swagger_out=./tmp-swagger-gen \
Expand Down
Loading

0 comments on commit 6da6b3b

Please sign in to comment.