Skip to content

Commit

Permalink
docs: update swagger config
Browse files Browse the repository at this point in the history
  • Loading branch information
hacheigriega committed Aug 19, 2024
1 parent 456e6a1 commit 0b5dc48
Show file tree
Hide file tree
Showing 4 changed files with 26,231 additions and 14,208 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -201,10 +201,10 @@ BINDIR ?= $(GOPATH)/bin
STATIK = $(BINDIR)/statik

proto-swagger-gen:
# @make clean
# @echo "Downloading Protobuf dependencies"
# @make proto-download-deps
# @echo "Generating Protobuf Swagger"
@make clean
@echo "Downloading Protobuf dependencies"
@make proto-download-deps
@echo "Generating Protobuf Swagger"
@$(protoImage) sh ./scripts/protoc-swagger-gen.sh
@echo "Generating static files for swagger docs"
$(MAKE) update-swagger-docs
Expand Down
8 changes: 7 additions & 1 deletion client/docs/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,13 @@
}
},
{
"url": "./tmp-swagger-gen/cosmos/group/v1beta1/query.swagger.json"
"url": "./tmp-swagger-gen/cosmos/group/v1/query.swagger.json",
"operationIds": {
"rename": {
"TallyResult": "GroupTallyResult",
"Proposal": "GroupProposal"
}
}
},
{
"url": "./tmp-swagger-gen/cosmos/mint/v1beta1/query.swagger.json",
Expand Down
2 changes: 1 addition & 1 deletion client/docs/statik/statik.go

Large diffs are not rendered by default.

Loading

0 comments on commit 0b5dc48

Please sign in to comment.