Skip to content

Commit

Permalink
disable swagger endpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikita Volkov committed Apr 6, 2021
1 parent cf90fa2 commit 579a0c0
Show file tree
Hide file tree
Showing 6 changed files with 6,022 additions and 146 deletions.
3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ cosmos_dir=$(swagger_dir)/cosmos-sdk
dnode = ./cmd/dnode
dncli =./cmd/dncli

cosmos_version = $(shell awk '/replace github.com\/cosmos\/cosmos-sdk => github.com\/dfinance\/cosmos-sdk/ {print $$NF}' < go.mod)
cosmos_version = dfinance/launchpad

all: install
install: go.sum install-dnode install-dncli
Expand Down Expand Up @@ -98,7 +98,6 @@ swagger-ui-build: $(modules_dir)/*
echo "package docs\n\nconst Swagger = \`" >> ./cmd/dncli/docs/swagger.go
cat ./cmd/dncli/docs/swagger.yaml | sed "s/\`/'/g" >> ./cmd/dncli/docs/swagger.go
echo "\`" >> ./cmd/dncli/docs/swagger.go
rm ./cmd/dncli/docs/swagger.yaml

## binaries builds (xgo required: https://github.com/karalabe/xgo)
binaries: go.sum
Expand Down
Loading

0 comments on commit 579a0c0

Please sign in to comment.