Skip to content

Commit

Permalink
Merge pull request #11 from decentrio/swagger-script
Browse files Browse the repository at this point in the history
Add new swagger script
  • Loading branch information
GNaD13 authored May 20, 2024
2 parents c40e6b5 + cccc0aa commit a3ddce3
Show file tree
Hide file tree
Showing 7 changed files with 25,530 additions and 14,779 deletions.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,8 @@ proto-swagger-gen:
@echo "Downloading Protobuf dependencies"
# @make proto-download-deps
@echo "Generating Protobuf Swagger"
$(protoCosmosImage) sh ./scripts/protoc-swagger-gen.sh
./scripts/protoc-third-party.sh
$(protoImage) sh ./scripts/protoc-swagger-gen.sh

proto-format:
@echo "Formatting Protobuf files"
Expand Down
6 changes: 4 additions & 2 deletions client/docs/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -132,10 +132,12 @@
}
},
{
"url": "./tmp-swagger-gen/realiotech/multistaking/v1/query.swagger.json",
"url": "./tmp-swagger-gen/multistaking/v1/query.swagger.json",
"operationIds": {
"rename": {
"Params": "MultiStakingParams"
"Params": "MultiStakingParams",
"Validators": "MultiStakingValidators",
"Validator": "MultiStakingValidator"
}
}
}
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 a3ddce3

Please sign in to comment.