@@ -19,6 +19,10 @@ var projectsSnippetsCreateRequest = cli.Command{
1919 & cli.StringFlag {
2020 Name : "project-name" ,
2121 },
22+ & cli.StringFlag {
23+ Name : "language" ,
24+ Action : getAPIFlagAction [string ]("body" , "language" ),
25+ },
2226 & cli.StringFlag {
2327 Name : "request.method" ,
2428 Action : getAPIFlagAction [string ]("body" , "request.method" ),
@@ -47,13 +51,29 @@ var projectsSnippetsCreateRequest = cli.Command{
4751 Name : "request.body.filePath" ,
4852 Action : getAPIFlagAction [string ]("body" , "request.body.filePath" ),
4953 },
54+ & cli.StringFlag {
55+ Name : "request.queryString.name" ,
56+ Action : getAPIFlagAction [string ]("body" , "request.queryString.#.name" ),
57+ },
58+ & cli.StringFlag {
59+ Name : "request.queryString.value" ,
60+ Action : getAPIFlagAction [string ]("body" , "request.queryString.#.value" ),
61+ },
5062 & cli.BoolFlag {
51- Name : "har " ,
52- Action : getAPIFlagActionWithValue [bool ]("body" , "har " , nil ),
63+ Name : "request.+query_string " ,
64+ Action : getAPIFlagActionWithValue [bool ]("body" , "request.queryString.-1 " , map [ string ] interface {}{} ),
5365 },
5466 & cli.StringFlag {
55- Name : "language" ,
56- Action : getAPIFlagAction [string ]("body" , "language" ),
67+ Name : "request.url" ,
68+ Action : getAPIFlagAction [string ]("body" , "request.url" ),
69+ },
70+ & cli.StringFlag {
71+ Name : "request.postData.mimeType" ,
72+ Action : getAPIFlagAction [string ]("body" , "request.postData.mimeType" ),
73+ },
74+ & cli.StringFlag {
75+ Name : "request.postData.text" ,
76+ Action : getAPIFlagAction [string ]("body" , "request.postData.text" ),
5777 },
5878 & cli.StringFlag {
5979 Name : "version" ,
0 commit comments