Repository: zeromicro/go-zero (go)

Issue:
a doubt of goctl help message
**Describe the bug**
![image](https://user-images.githubusercontent.com/9588681/190881599-17e941c6-4b8e-4990-b419-8e07fe3f6e53.png)

**To Reproduce**
goctl api -h         

1. The code is

   ```go
   goCmd = &cobra.Command{
		Use:   "go",
		Short: "Generate go files for provided api in yaml file",
		RunE:  gogen.GoCommand,
	}
   ```

2. The error is

   ```
   Generate go files for provided api in yaml file
   ```

**Expected behavior**
Generate go files for provided api in api file



**Environments (please complete the following information):**
 - OS: [Linux]
 - go-zero version [1.4.0]

**More description**

I think, Generate go files for provided api in api file not in yaml file




Pull request description:
fix goctl help message
fix #2408 

Patch:
diff --git a/tools/goctl/api/cmd.go b/tools/goctl/api/cmd.go
index 8bd0e9a7..71667c1b 100644
--- a/tools/goctl/api/cmd.go
+++ b/tools/goctl/api/cmd.go
@@ -43,7 +43,7 @@ var (
 
 	goCmd = &cobra.Command{
 		Use:   "go",
-		Short: "Generate go files for provided api in yaml file",
+		Short: "Generate go files for provided api in api file",
 		RunE:  gogen.GoCommand,
 	}
 


Test patch:
diff --git a/gateway/internal/requestparser_test.go b/gateway/internal/requestparser_test.go
index ede871f0..c910d02a 100644
--- a/gateway/internal/requestparser_test.go
+++ b/gateway/internal/requestparser_test.go
@@ -53,3 +53,16 @@ func TestNewRequestParserWithForm(t *testing.T) {
 	assert.Nil(t, err)
 	assert.NotNil(t, parser)
 }
+
+func TestNewRequestParserWithBadForm(t *testing.T) {
+	req := httptest.NewRequest("GET", "/val?a%1=b", nil)
+	parser, err := NewRequestParser(req, nil)
+	assert.NotNil(t, err)
+	assert.Nil(t, parser)
+}
+
+func TestRequestParser_buildJsonRequestParser(t *testing.T) {
+	parser, err := buildJsonRequestParser(map[string]interface{}{"a": make(chan int)}, nil)
+	assert.NotNil(t, err)
+	assert.Nil(t, parser)
+}