8000 docs: use evmos swagger instead of ethermint by chengwenxi · Pull Request #477 · evmos/evmos · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

docs: use evmos swagger instead of ethermint #477

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

Merged
merged 3 commits into from
Apr 13, 2022
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
5 changes: 3 additions & 2 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,6 @@ import (
ibckeeper "github.com/cosmos/ibc-go/v3/modules/core/keeper"
ibctesting "github.com/cosmos/ibc-go/v3/testing"

// unnamed import of statik for swagger UI support
_ "github.com/tharsis/ethermint/client/docs/statik"
"github.com/tharsis/ethermint/encoding"

srvflags "github.com/tharsis/ethermint/server/flags"
Expand All @@ -105,6 +103,9 @@ import (
feemarketkeeper "github.com/tharsis/ethermint/x/feemarket/keeper"
feemarkettypes "github.com/tharsis/ethermint/x/feemarket/types"

// unnamed import of statik for swagger UI support
_ "github.com/tharsis/evmos/v3/client/docs/statik"

"github.com/tharsis/evmos/v3/app/ante"
v2 "github.com/tharsis/evmos/v3/app/upgrades/mainnet/v2"
v3 "github.com/tharsis/evmos/v3/app/upgrades/mainnet/v3"
Expand Down
5 changes: 5 additions & 0 deletions client/docs/statik/init.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
package statik

// unnamed import of statik for swagger UI support
// override ethermint statik by importing it
// nolint
import _ "github.com/tharsis/ethermint/client/docs/statik"

// This just for fixing the error in importing empty github.com/tharsis/ethermint/client/docs/statik
0