mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-11-10 10:05:18 +00:00
Update Swagger for kava-5 (#852)
* hard: posts, gets, object definitions * formatting * incentive params * incentive claims and rewards * incentive fromatting * update CDP * format CDP * fix typo in cdp liquidate route registration
This commit is contained in:
parent
5352c2489d
commit
0e718d3510
10593
swagger-ui/swagger.yaml
10593
swagger-ui/swagger.yaml
File diff suppressed because it is too large
Load Diff
@ -20,7 +20,7 @@ func registerTxRoutes(cliCtx context.CLIContext, r *mux.Router) {
|
||||
r.HandleFunc("/cdp/{owner}/{collateralType}/withdraw", postWithdrawHandlerFn(cliCtx)).Methods("POST")
|
||||
r.HandleFunc("/cdp/{owner}/{collateralType}/draw", postDrawHandlerFn(cliCtx)).Methods("POST")
|
||||
r.HandleFunc("/cdp/{owner}/{collateralType}/repay", postRepayHandlerFn(cliCtx)).Methods("POST")
|
||||
r.HandleFunc("/cdp/{owner}/collateralType}/liquidate", postLiquidateHandlerFn(cliCtx)).Methods("POST")
|
||||
r.HandleFunc("/cdp/{owner}/{collateralType}/liquidate", postLiquidateHandlerFn(cliCtx)).Methods("POST")
|
||||
}
|
||||
|
||||
func postCdpHandlerFn(cliCtx context.CLIContext) http.HandlerFunc {
|
||||
|
Loading…
Reference in New Issue
Block a user