From 9fd9a1ce468f39258277a310b1746b3c77aa31ec Mon Sep 17 00:00:00 2001 From: yamoyamoto Date: Tue, 28 Apr 2026 12:51:26 +0900 Subject: [PATCH] fix(server): use interface{} for store handler swag annotations Signed-off-by: yamoyamoto --- backend/server/api/store/store.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/backend/server/api/store/store.go b/backend/server/api/store/store.go index 0c7ab3778e5..14e78dc0753 100644 --- a/backend/server/api/store/store.go +++ b/backend/server/api/store/store.go @@ -33,7 +33,7 @@ import ( // @Description Get the value by given key // @Tags framework/projects // @Param storeKey path string true "storeKey" -// @Success 200 {object} json.RawMessage +// @Success 200 {object} interface{} // @Failure 400 {string} errcode.Error "Bad Request" // @Failure 500 {string} errcode.Error "Internal Error" // @Router /store/{storeKey} [get] @@ -53,8 +53,8 @@ func GetStore(c *gin.Context) { // @Tags framework/projects // @Accept application/json // @Param storeKey path string true "storeKey" -// @Param project body json.RawMessage false "json" -// @Success 200 {object} json.RawMessage +// @Param project body interface{} false "json" +// @Success 200 {object} interface{} // @Failure 400 {string} errcode.Error "Bad Request" // @Failure 500 {string} errcode.Error "Internal Error" // @Router /store/{storeKey} [PUT]