* fix: #2672 * chore: fix more cases * chore: update deps * chore: update deps * chore: refactor * chore: refactor * chore: refactor
* feat: rest.WithChain to replace builtin middlewares * chore: add comments * chore: refine code