Repository navigation
Commit 36ecd6b
authored
Remove the Cosmos Swagger UI and sei-cosmos contrib tooling (#4619)
seid never served the Cosmos Swagger UI. `sei-cosmos/server/api`
blank-imported the generated `client/docs/statik` bundle, but only the
`sei-wasmd` test app ever registered a `/swagger/` route, so
`api.swagger` in app.toml did nothing for seid. The bundle, its
generator scripts and the `sei-cosmos/contrib` devtools that installed
`statik` and `runsim` were about 39k lines of upstream leftovers.
This deletes `sei-cosmos/client/docs`, the swagger generator scripts,
and `sei-cosmos/contrib` except `images/`, which the localnet removal in
#4618 already deletes. `APIConfig.Swagger` and the `swagger` key are
dropped from the app.toml template and the docker localnode/rpcnode
configs; existing app.toml files that still set it are ignored by viper.
`RegisterSwaggerAPI` goes from the sei-wasmd test app, the sei-cosmos
Makefile loses `tools`, `update-swagger-docs`, `proto-swagger-gen` and
`test-cover` (none run in CI), and `github.com/rakyll/statik` leaves
go.mod.
No consensus or state impact. Validated with `go build ./...`, `make
fmtcheck`, and the `sei-cosmos/server/config` and `testutil/configtest`
tests.1 parent 40a8d57 commit 36ecd6b
39 files changed
Lines changed: 0 additions & 39146 deletions
File tree
- docker
- localnode/config
- rpcnode/config
- sei-cosmos
- client/docs
- statik
- swagger-ui
- contrib
- devtools
- githooks
- scripts
- server
- api
- config
- testutil/network
- sei-wasmd/app
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | 111 | | |
115 | 112 | | |
116 | 113 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | 109 | | |
113 | 110 | | |
114 | 111 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
67 | 66 | | |
68 | 67 | | |
69 | 68 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1253 | 1253 | | |
1254 | 1254 | | |
1255 | 1255 | | |
1256 | | - | |
1257 | | - | |
1258 | 1256 | | |
1259 | 1257 | | |
1260 | 1258 | | |
| |||
This file was deleted.
This file was deleted.
This file was deleted.
Binary file not shown.
Binary file not shown.
This file was deleted.
0 commit comments