Skip to content

Commit

Permalink
refactor: remove legacy REST APIs (#807)
Browse files Browse the repository at this point in the history
* remove legacy REST API from swagger

* feat: remove legacy REST-related things in client-side

* feat: remove legacy REST-related things in server-side

* refactor: remove all REST handlers in x modules

* refactor: remove legacy REST API in `simapp`

* refactor: remove `RegisterRESTRoutes` in all x modules

* chore: update mocks

* chore: update CHANGELOG

* remove sdk_test (legacy)

* revert mocks

* go mod tidy

* remove legact REST test in x/wasm

* remove `getBlockByHash` which was used in legacy REST

* test: modify an invalid grpc test case

* fix typo

* update statik

* go mod tidy

* goimports

* chore: add missing norace tag

* chore: combine CHANGELOG to one line
  • Loading branch information
tkxkd0159 authored Dec 8, 2022
1 parent e8236e7 commit ada8700
Show file tree
Hide file tree
Showing 124 changed files with 427 additions and 9,874 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ Ref: https://keepachangelog.com/en/1.0.0/
### Bug Fixes

### Breaking Changes
* (rest) [\#807](https://github.com/line/lbm-sdk/pull/807) remove legacy REST API

### Build, CI

Expand Down
8 changes: 1 addition & 7 deletions client/docs/config.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,11 @@
{
"swagger": "2.0",
"info": {
"title": "LBM SDK - Legacy REST and gRPC Gateway docs",
"title": "LBM SDK - gRPC Gateway docs",
"description": "A REST interface for state queries, legacy transactions",
"version": "1.0.0"
},
"apis": [
{
"url": "./client/docs/swagger_legacy.yaml",
"dereference": {
"circular": "ignore"
}
},
{
"url": "./tmp-swagger-gen/cosmos/auth/v1beta1/query.swagger.json",
"operationIds": {
Expand Down
9 changes: 4 additions & 5 deletions client/docs/statik/statik.go

Large diffs are not rendered by default.

Loading

0 comments on commit ada8700

Please sign in to comment.