Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Major upgrade to core (Alliance, IBC-hooks, ICA controller, token factory, cosmos v0.46) #106

Merged
merged 9 commits into from
Mar 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -184,13 +184,15 @@ gen-swagger-docs:
update-swagger-docs: statik
$(BINDIR)/statik -src=client/docs/swagger-ui -dest=client/docs -f -m
@if [ -n "$(git status --porcelain)" ]; then \
echo "\033[91mSwagger docs are out of sync!!!\033[0m";\
echo "Swagger docs are out of sync!";\
exit 1;\
else \
echo "\033[92mSwagger docs are in sync\033[0m";\
echo "Swagger docs are in sync!";\
fi

.PHONY: build build-linux install update-swagger-docs
apply-swagger: gen-swagger-docs update-swagger-docs

.PHONY: build build-linux install update-swagger-docs apply-swagger


###############################################################################
Expand Down Expand Up @@ -248,7 +250,7 @@ clean-testing-data:
### Protobuf ###
###############################################################################

proto-all: proto-swagger-gen proto-gen
proto-all: proto-gen

proto-gen:
@echo "Generating Protobuf files"
Expand Down
70 changes: 32 additions & 38 deletions client/docs/config.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,41 @@
{
"swagger": "2.0",
"info": {
"title": "Cosmos SDK - Legacy REST and gRPC Gateway docs",
"description": "A REST interface for state queries, legacy transactions",
"version": "1.0.0"
"title": "Terra Core Rest API",
"description": "Rest Interface for Terra Core v2.3.0 https://github.com/terra-money/core",
"version": "2.3.0"
},
"apis": [
{
"url": "./client/docs/swagger_legacy.yaml",
"dereference": {
"circular": "ignore"
"url": "./tmp-swagger-gen/alliance/query.swagger.json",
"operationIds": {
"rename": {
"Params": "AllianceParams"
}
}
},
{
"url": "./tmp-swagger-gen/cosmwasm/tokenfactory/v1beta1/query.swagger.json",
"operationIds": {
"rename": {
"Params": "TokenFactoryParams"
}
}
},
{
"url": "./tmp-swagger-gen/ibc/applications/interchain_accounts/controller/v1/query.swagger.json",
"operationIds": {
"rename": {
"Params": "ICAController"
}
}
},
{
"url": "./tmp-swagger-gen/ibc/applications/interchain_accounts/host/v1/query.swagger.json",
"operationIds": {
"rename": {
"Params": "ICAHost"
}
}
},
{
Expand Down Expand Up @@ -161,38 +187,6 @@
"Params": "IBCFee"
}
}
},
{
"url": "./tmp-swagger-gen/ibc/applications/interchain_accounts/controller/v1/query.swagger.json",
"operationIds": {
"rename": {
"Params": "ICAController"
}
}
},
{
"url": "./tmp-swagger-gen/ibc/applications/interchain_accounts/host/v1/query.swagger.json",
"operationIds": {
"rename": {
"Params": "ICAHost"
}
}
},
{
"url": "./tmp-swagger-gen/alliance/query.swagger.json",
"operationIds": {
"rename": {
"Params": "AllianceParams"
}
}
},
{
"url": "./tmp-swagger-gen/cosmwasm/tokenfactory/v1beta1/query.swagger.json",
"operationIds": {
"rename": {
"Params": "TokenFactoryParams"
}
}
}
]
}
2 changes: 1 addition & 1 deletion client/docs/statik/statik.go

Large diffs are not rendered by default.

Loading