You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by zh...@apache.org on 2023/03/06 08:48:04 UTC

[incubator-devlake] branch main updated: fix: rename is_manual to isManual; page_size to pageSize (#4590)

This is an automated email from the ASF dual-hosted git repository.

zhangliang2022 pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git


The following commit(s) were added to refs/heads/main by this push:
     new 58d8672bd fix: rename is_manual to isManual; page_size to pageSize (#4590)
58d8672bd is described below

commit 58d8672bdc97a35dd36132c85a5846458aa9b08a
Author: Likyh <ya...@meri.co>
AuthorDate: Mon Mar 6 16:47:52 2023 +0800

    fix: rename is_manual to isManual; page_size to pageSize (#4590)
---
 backend/server/api/blueprints/blueprints.go | 4 ++--
 backend/server/services/blueprint.go        | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/backend/server/api/blueprints/blueprints.go b/backend/server/api/blueprints/blueprints.go
index fa498732a..e25b2cf0e 100644
--- a/backend/server/api/blueprints/blueprints.go
+++ b/backend/server/api/blueprints/blueprints.go
@@ -64,9 +64,9 @@ func Post(c *gin.Context) {
 // @Description get blueprints
 // @Tags framework/blueprints
 // @Param enable query bool false "enable"
-// @Param is_manual query bool false "is_manual"
+// @Param isManual query bool false "isManual"
 // @Param page query int false "page"
-// @Param page_size query int false "page_size"
+// @Param pageSize query int false "pageSize"
 // @Param label query string false "label"
 // @Success 200  {object} PaginatedBlueprint
 // @Failure 400  {object} shared.ApiBody "Bad Request"
diff --git a/backend/server/services/blueprint.go b/backend/server/services/blueprint.go
index 8bba964db..504853b33 100644
--- a/backend/server/services/blueprint.go
+++ b/backend/server/services/blueprint.go
@@ -35,7 +35,7 @@ import (
 type BlueprintQuery struct {
 	Pagination
 	Enable   *bool  `form:"enable,omitempty"`
-	IsManual *bool  `form:"is_manual"`
+	IsManual *bool  `form:"isManual"`
 	Label    string `form:"label"`
 }