File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ import (
3333// @Description Get the value by given key
3434// @Tags framework/projects
3535// @Param storeKey path string true "storeKey"
36- // @Success 200 {object} json.RawMessage
36+ // @Success 200 {object} interface{}
3737// @Failure 400 {string} errcode.Error "Bad Request"
3838// @Failure 500 {string} errcode.Error "Internal Error"
3939// @Router /store/{storeKey} [get]
@@ -53,8 +53,8 @@ func GetStore(c *gin.Context) {
5353// @Tags framework/projects
5454// @Accept application/json
5555// @Param storeKey path string true "storeKey"
56- // @Param project body json.RawMessage false "json"
57- // @Success 200 {object} json.RawMessage
56+ // @Param project body interface{} false "json"
57+ // @Success 200 {object} interface{}
5858// @Failure 400 {string} errcode.Error "Bad Request"
5959// @Failure 500 {string} errcode.Error "Internal Error"
6060// @Router /store/{storeKey} [PUT]
You can’t perform that action at this time.
0 commit comments