🚸 Default MCP output to JSON
This commit is contained in:
1 parent
eac8f89d54
commit
57cde6b934
55 files changed
+59
-63
No files matched your search
@@ -48,7 +48,7 @@ var insertInSchema = &jsonschema.Schema{
|
||||
},
|
||||
"output": {
|
||||
Type: "string", Enum: []any{"json", "yaml", "silent"},
|
||||
Description: pkg.SilentUsage, Default: jsontext.Value(`"yaml"`),
|
||||
Description: pkg.SilentUsage, Default: jsontext.Value(`"json"`),
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
@@ -52,7 +52,7 @@ var listInSchema = &jsonschema.Schema{
|
||||
},
|
||||
"output": {
|
||||
Type: "string", Enum: []any{"json", "yaml", "table"},
|
||||
Description: pkg.TableUsage, Default: jsontext.Value(`"yaml"`),
|
||||
Description: pkg.TableUsage, Default: jsontext.Value(`"json"`),
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
@@ -57,9 +57,8 @@ var insertInSchema = &jsonschema.Schema{
|
||||
"on_behalf_of": {Type: "string", Description: pkg.OBOUsage},
|
||||
"on_behalf_of_content_owner": {Type: "string", Description: pkg.OBOCOUsage},
|
||||
"output": {
|
||||
Type: "string", Description: pkg.SilentUsage,
|
||||
Enum: []any{"json", "yaml", "silent"},
|
||||
Default: jsontext.Value(`"yaml"`),
|
||||
Type: "string", Enum: []any{"json", "yaml", "silent"},
|
||||
Description: pkg.SilentUsage, Default: jsontext.Value(`"json"`),
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
+2
-3
@@ -47,9 +47,8 @@ var listInSchema = &jsonschema.Schema{
|
||||
Default: jsontext.Value(`["id","snippet"]`),
|
||||
},
|
||||
"output": {
|
||||
Type: "string", Description: pkg.TableUsage,
|
||||
Enum: []any{"json", "yaml", "table"},
|
||||
Default: jsontext.Value(`"yaml"`),
|
||||
Type: "string", Enum: []any{"json", "yaml", "table"},
|
||||
Description: pkg.TableUsage, Default: jsontext.Value(`"json"`),
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
@@ -55,9 +55,8 @@ var updateInSchema = &jsonschema.Schema{
|
||||
"on_behalf_of": {Type: "string", Description: pkg.OBOUsage},
|
||||
"on_behalf_of_content_owner": {Type: "string", Description: pkg.OBOCOUsage},
|
||||
"output": {
|
||||
Type: "string", Description: pkg.SilentUsage,
|
||||
Enum: []any{"json", "yaml", "silent"},
|
||||
Default: jsontext.Value(`"yaml"`),
|
||||
Type: "string", Enum: []any{"json", "yaml", "silent"},
|
||||
Description: pkg.SilentUsage, Default: jsontext.Value(`"json"`),
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
+1
-1
@@ -62,7 +62,7 @@ var listInSchema = &jsonschema.Schema{
|
||||
},
|
||||
"output": {
|
||||
Type: "string", Enum: []any{"json", "yaml", "table"},
|
||||
Description: pkg.TableUsage, Default: jsontext.Value(`"yaml"`),
|
||||
Description: pkg.TableUsage, Default: jsontext.Value(`"json"`),
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
@@ -48,7 +48,7 @@ var updateInSchema = &jsonschema.Schema{
|
||||
"title": {Type: "string", Description: titleUsage},
|
||||
"output": {
|
||||
Type: "string", Enum: []any{"json", "yaml", "silent"},
|
||||
Description: pkg.SilentUsage, Default: jsontext.Value(`"yaml"`),
|
||||
Description: pkg.SilentUsage, Default: jsontext.Value(`"json"`),
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
@@ -46,7 +46,7 @@ var insertInSchema = &jsonschema.Schema{
|
||||
},
|
||||
"output": {
|
||||
Type: "string", Enum: []any{"json", "yaml", "silent"},
|
||||
Description: pkg.SilentUsage, Default: jsontext.Value(`"yaml"`),
|
||||
Description: pkg.SilentUsage, Default: jsontext.Value(`"json"`),
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
@@ -49,7 +49,7 @@ var listInSchema = &jsonschema.Schema{
|
||||
},
|
||||
"output": {
|
||||
Type: "string", Enum: []any{"json", "yaml", "table"},
|
||||
Description: pkg.TableUsage, Default: jsontext.Value(`"yaml"`),
|
||||
Description: pkg.TableUsage, Default: jsontext.Value(`"json"`),
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
@@ -44,7 +44,7 @@ var insertInSchema = &jsonschema.Schema{
|
||||
"video_id": {Type: "string", Description: vidUsage},
|
||||
"output": {
|
||||
Type: "string", Enum: []any{"json", "yaml", "silent"},
|
||||
Description: pkg.SilentUsage, Default: jsontext.Value(`"yaml"`),
|
||||
Description: pkg.SilentUsage, Default: jsontext.Value(`"json"`),
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
+1
-1
@@ -55,7 +55,7 @@ var listInSchema = &jsonschema.Schema{
|
||||
},
|
||||
"output": {
|
||||
Type: "string", Enum: []any{"json", "yaml", "table"},
|
||||
Description: pkg.TableUsage, Default: jsontext.Value(`"yaml"`),
|
||||
Description: pkg.TableUsage, Default: jsontext.Value(`"json"`),
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
@@ -40,7 +40,7 @@ var markAsSpamInSchema = &jsonschema.Schema{
|
||||
},
|
||||
"output": {
|
||||
Type: "string", Enum: []any{"json", "yaml", "silent"},
|
||||
Description: pkg.SilentUsage, Default: jsontext.Value(`"yaml"`),
|
||||
Description: pkg.SilentUsage, Default: jsontext.Value(`"json"`),
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
@@ -47,7 +47,7 @@ var setModerationStatusInSchema = &jsonschema.Schema{
|
||||
"ban_author": {Type: "boolean", Description: baUsage},
|
||||
"output": {
|
||||
Type: "string", Enum: []any{"json", "yaml", "silent"},
|
||||
Description: pkg.SilentUsage, Default: jsontext.Value(`"yaml"`),
|
||||
Description: pkg.SilentUsage, Default: jsontext.Value(`"json"`),
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
@@ -49,7 +49,7 @@ var updateInSchema = &jsonschema.Schema{
|
||||
},
|
||||
"output": {
|
||||
Type: "string", Enum: []any{"json", "yaml", "silent"},
|
||||
Description: pkg.SilentUsage, Default: jsontext.Value(`"yaml"`),
|
||||
Description: pkg.SilentUsage, Default: jsontext.Value(`"json"`),
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
@@ -42,7 +42,7 @@ var insertInSchema = &jsonschema.Schema{
|
||||
"video_id": {Type: "string", Description: insertVidUsage},
|
||||
"output": {
|
||||
Type: "string", Enum: []any{"json", "yaml", "silent"},
|
||||
Description: pkg.SilentUsage, Default: jsontext.Value(`"yaml"`),
|
||||
Description: pkg.SilentUsage, Default: jsontext.Value(`"json"`),
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
@@ -70,7 +70,7 @@ var listInSchema = &jsonschema.Schema{
|
||||
},
|
||||
"output": {
|
||||
Type: "string", Enum: []any{"json", "yaml", "table"},
|
||||
Description: pkg.TableUsage, Default: jsontext.Value(`"yaml"`),
|
||||
Description: pkg.TableUsage, Default: jsontext.Value(`"json"`),
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
@@ -50,7 +50,7 @@ var bindInSchema = &jsonschema.Schema{
|
||||
},
|
||||
"output": {
|
||||
Type: "string", Enum: []any{"json", "yaml", "silent"},
|
||||
Description: pkg.SilentUsage, Default: jsontext.Value(`"yaml"`),
|
||||
Description: pkg.SilentUsage, Default: jsontext.Value(`"json"`),
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
@@ -52,7 +52,7 @@ var insertInSchema = &jsonschema.Schema{
|
||||
},
|
||||
"output": {
|
||||
Type: "string", Enum: []any{"json", "yaml", "silent"},
|
||||
Description: pkg.SilentUsage, Default: jsontext.Value(`"yaml"`),
|
||||
Description: pkg.SilentUsage, Default: jsontext.Value(`"json"`),
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
@@ -57,7 +57,7 @@ var insertCuepointInSchema = &jsonschema.Schema{
|
||||
},
|
||||
"output": {
|
||||
Type: "string", Enum: []any{"json", "yaml", "silent"},
|
||||
Description: pkg.SilentUsage, Default: jsontext.Value(`"yaml"`),
|
||||
Description: pkg.SilentUsage, Default: jsontext.Value(`"json"`),
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
@@ -56,7 +56,7 @@ var listInSchema = &jsonschema.Schema{
|
||||
},
|
||||
"output": {
|
||||
Type: "string", Enum: []any{"json", "yaml", "table"},
|
||||
Description: pkg.TableUsage, Default: jsontext.Value(`"yaml"`),
|
||||
Description: pkg.TableUsage, Default: jsontext.Value(`"json"`),
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
@@ -54,7 +54,7 @@ var transitionInSchema = &jsonschema.Schema{
|
||||
},
|
||||
"output": {
|
||||
Type: "string", Enum: []any{"json", "yaml", "silent"},
|
||||
Description: pkg.SilentUsage, Default: jsontext.Value(`"yaml"`),
|
||||
Description: pkg.SilentUsage, Default: jsontext.Value(`"json"`),
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
@@ -53,7 +53,7 @@ var updateInSchema = &jsonschema.Schema{
|
||||
},
|
||||
"output": {
|
||||
Type: "string", Enum: []any{"json", "yaml", "silent"},
|
||||
Description: pkg.SilentUsage, Default: jsontext.Value(`"yaml"`),
|
||||
Description: pkg.SilentUsage, Default: jsontext.Value(`"json"`),
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
@@ -48,7 +48,7 @@ var insertInSchema = &jsonschema.Schema{
|
||||
},
|
||||
"output": {
|
||||
Type: "string", Enum: []any{"json", "yaml", "silent"},
|
||||
Description: pkg.SilentUsage, Default: jsontext.Value(`"yaml"`),
|
||||
Description: pkg.SilentUsage, Default: jsontext.Value(`"json"`),
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
@@ -39,7 +39,7 @@ var insertInSchema = &jsonschema.Schema{
|
||||
},
|
||||
"output": {
|
||||
Type: "string", Enum: []any{"json", "yaml", "silent"},
|
||||
Description: pkg.SilentUsage, Default: jsontext.Value(`"yaml"`),
|
||||
Description: pkg.SilentUsage, Default: jsontext.Value(`"json"`),
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
@@ -45,7 +45,7 @@ var listInSchema = &jsonschema.Schema{
|
||||
},
|
||||
"output": {
|
||||
Type: "string", Enum: []any{"json", "yaml", "table"},
|
||||
Description: pkg.TableUsage, Default: jsontext.Value(`"yaml"`),
|
||||
Description: pkg.TableUsage, Default: jsontext.Value(`"json"`),
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
@@ -42,7 +42,7 @@ var transitionInSchema = &jsonschema.Schema{
|
||||
},
|
||||
"output": {
|
||||
Type: "string", Enum: []any{"json", "yaml", "silent"},
|
||||
Description: pkg.SilentUsage, Default: jsontext.Value(`"yaml"`),
|
||||
Description: pkg.SilentUsage, Default: jsontext.Value(`"json"`),
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
@@ -39,7 +39,7 @@ var insertInSchema = &jsonschema.Schema{
|
||||
},
|
||||
"output": {
|
||||
Type: "string", Enum: []any{"json", "yaml", "silent"},
|
||||
Description: pkg.SilentUsage, Default: jsontext.Value(`"yaml"`),
|
||||
Description: pkg.SilentUsage, Default: jsontext.Value(`"json"`),
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
@@ -44,7 +44,7 @@ var listInSchema = &jsonschema.Schema{
|
||||
},
|
||||
"output": {
|
||||
Type: "string", Enum: []any{"json", "yaml", "table"},
|
||||
Description: pkg.TableUsage, Default: jsontext.Value(`"yaml"`),
|
||||
Description: pkg.TableUsage, Default: jsontext.Value(`"json"`),
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
@@ -58,7 +58,7 @@ var insertInSchema = &jsonschema.Schema{
|
||||
},
|
||||
"output": {
|
||||
Type: "string", Enum: []any{"json", "yaml", "silent"},
|
||||
Description: pkg.SilentUsage, Default: jsontext.Value(`"yaml"`),
|
||||
Description: pkg.SilentUsage, Default: jsontext.Value(`"json"`),
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
@@ -54,7 +54,7 @@ var listInSchema = &jsonschema.Schema{
|
||||
},
|
||||
"output": {
|
||||
Type: "string", Enum: []any{"json", "yaml", "table"},
|
||||
Description: pkg.TableUsage, Default: jsontext.Value(`"yaml"`),
|
||||
Description: pkg.TableUsage, Default: jsontext.Value(`"json"`),
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
@@ -59,7 +59,7 @@ var updateInSchema = &jsonschema.Schema{
|
||||
},
|
||||
"output": {
|
||||
Type: "string", Enum: []any{"json", "yaml", "silent"},
|
||||
Description: pkg.SilentUsage, Default: jsontext.Value(`"yaml"`),
|
||||
Description: pkg.SilentUsage, Default: jsontext.Value(`"json"`),
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
+1
-1
@@ -50,7 +50,7 @@ var listInSchema = &jsonschema.Schema{
|
||||
},
|
||||
"output": {
|
||||
Type: "string", Enum: []any{"json", "yaml", "table"},
|
||||
Description: pkg.TableUsage, Default: jsontext.Value(`"yaml"`),
|
||||
Description: pkg.TableUsage, Default: jsontext.Value(`"json"`),
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
@@ -36,7 +36,7 @@ var listInSchema = &jsonschema.Schema{
|
||||
},
|
||||
"output": {
|
||||
Type: "string", Enum: []any{"json", "yaml", "table"},
|
||||
Description: pkg.TableUsage, Default: jsontext.Value(`"yaml"`),
|
||||
Description: pkg.TableUsage, Default: jsontext.Value(`"json"`),
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
@@ -50,7 +50,7 @@ var insertInSchema = &jsonschema.Schema{
|
||||
},
|
||||
"output": {
|
||||
Type: "string", Enum: []any{"json", "yaml", "silent"},
|
||||
Description: pkg.SilentUsage, Default: jsontext.Value(`"yaml"`),
|
||||
Description: pkg.SilentUsage, Default: jsontext.Value(`"json"`),
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
@@ -64,7 +64,7 @@ var listInSchema = &jsonschema.Schema{
|
||||
},
|
||||
"output": {
|
||||
Type: "string", Enum: []any{"json", "yaml", "table"},
|
||||
Description: pkg.TableUsage, Default: jsontext.Value(`"yaml"`),
|
||||
Description: pkg.TableUsage, Default: jsontext.Value(`"json"`),
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
@@ -56,7 +56,7 @@ var updateInSchema = &jsonschema.Schema{
|
||||
},
|
||||
"output": {
|
||||
Type: "string", Enum: []any{"json", "yaml", "silent"},
|
||||
Description: pkg.SilentUsage, Default: jsontext.Value(`"yaml"`),
|
||||
Description: pkg.SilentUsage, Default: jsontext.Value(`"json"`),
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
@@ -56,7 +56,7 @@ var insertInSchema = &jsonschema.Schema{
|
||||
},
|
||||
"output": {
|
||||
Type: "string", Enum: []any{"json", "yaml", "silent"},
|
||||
Description: pkg.SilentUsage, Default: jsontext.Value(`"yaml"`),
|
||||
Description: pkg.SilentUsage, Default: jsontext.Value(`"json"`),
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
@@ -52,7 +52,7 @@ var listInSchema = &jsonschema.Schema{
|
||||
},
|
||||
"output": {
|
||||
Type: "string", Enum: []any{"json", "yaml", "table"},
|
||||
Description: pkg.TableUsage, Default: jsontext.Value(`"yaml"`),
|
||||
Description: pkg.TableUsage, Default: jsontext.Value(`"json"`),
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
@@ -51,7 +51,7 @@ var updateInSchema = &jsonschema.Schema{
|
||||
},
|
||||
"output": {
|
||||
Type: "string", Enum: []any{"json", "yaml", "silent"},
|
||||
Description: pkg.SilentUsage, Default: jsontext.Value(`"yaml"`),
|
||||
Description: pkg.SilentUsage, Default: jsontext.Value(`"json"`),
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
@@ -52,7 +52,7 @@ var insertInSchema = &jsonschema.Schema{
|
||||
"on_behalf_of_content_owner": {Type: "string", Description: pkg.OBOCOUsage},
|
||||
"output": {
|
||||
Type: "string", Enum: []any{"json", "yaml", "silent"},
|
||||
Description: pkg.SilentUsage, Default: jsontext.Value(`"yaml"`),
|
||||
Description: pkg.SilentUsage, Default: jsontext.Value(`"json"`),
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
@@ -54,7 +54,7 @@ var listInSchema = &jsonschema.Schema{
|
||||
},
|
||||
"output": {
|
||||
Type: "string", Enum: []any{"json", "yaml", "table"},
|
||||
Description: pkg.TableUsage, Default: jsontext.Value(`"yaml"`),
|
||||
Description: pkg.TableUsage, Default: jsontext.Value(`"json"`),
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
@@ -50,7 +50,7 @@ var updateInSchema = &jsonschema.Schema{
|
||||
"on_behalf_of_content_owner": {Type: "string", Description: pkg.OBOCOUsage},
|
||||
"output": {
|
||||
Type: "string", Enum: []any{"json", "yaml", "silent"},
|
||||
Description: pkg.SilentUsage, Default: jsontext.Value(`"yaml"`),
|
||||
Description: pkg.SilentUsage, Default: jsontext.Value(`"json"`),
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
+1
-1
@@ -133,7 +133,7 @@ var listInSchema = &jsonschema.Schema{
|
||||
},
|
||||
"output": {
|
||||
Type: "string", Enum: []any{"json", "yaml", "table"},
|
||||
Description: pkg.TableUsage, Default: jsontext.Value(`"yaml"`),
|
||||
Description: pkg.TableUsage, Default: jsontext.Value(`"json"`),
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
@@ -40,7 +40,7 @@ var insertInSchema = &jsonschema.Schema{
|
||||
"title": {Type: "string", Description: titleUsage},
|
||||
"output": {
|
||||
Type: "string", Enum: []any{"json", "yaml", "silent"},
|
||||
Description: pkg.SilentUsage, Default: jsontext.Value(`"yaml"`),
|
||||
Description: pkg.SilentUsage, Default: jsontext.Value(`"json"`),
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
@@ -74,7 +74,7 @@ var listInSchema = &jsonschema.Schema{
|
||||
},
|
||||
"output": {
|
||||
Type: "string", Enum: []any{"json", "yaml", "table"},
|
||||
Description: pkg.TableUsage, Default: jsontext.Value(`"yaml"`),
|
||||
Description: pkg.TableUsage, Default: jsontext.Value(`"json"`),
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
@@ -42,7 +42,7 @@ var listInSchema = &jsonschema.Schema{
|
||||
},
|
||||
"output": {
|
||||
Type: "string", Enum: []any{"json", "yaml", "table"},
|
||||
Description: pkg.TableUsage, Default: jsontext.Value(`"yaml"`),
|
||||
Description: pkg.TableUsage, Default: jsontext.Value(`"json"`),
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
@@ -42,7 +42,7 @@ var insertInSchema = &jsonschema.Schema{
|
||||
},
|
||||
"output": {
|
||||
Type: "string", Enum: []any{"json", "yaml", "silent"},
|
||||
Description: pkg.SilentUsage, Default: jsontext.Value(`"yaml"`),
|
||||
Description: pkg.SilentUsage, Default: jsontext.Value(`"json"`),
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
@@ -43,7 +43,7 @@ var listInSchema = &jsonschema.Schema{
|
||||
},
|
||||
"output": {
|
||||
Type: "string", Enum: []any{"json", "yaml", "table"},
|
||||
Description: pkg.TableUsage, Default: jsontext.Value(`"yaml"`),
|
||||
Description: pkg.TableUsage, Default: jsontext.Value(`"json"`),
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
@@ -44,7 +44,7 @@ var updateInSchema = &jsonschema.Schema{
|
||||
},
|
||||
"output": {
|
||||
Type: "string", Enum: []any{"json", "yaml", "silent"},
|
||||
Description: pkg.SilentUsage, Default: jsontext.Value(`"yaml"`),
|
||||
Description: pkg.SilentUsage, Default: jsontext.Value(`"json"`),
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
@@ -37,7 +37,7 @@ var setInSchema = &jsonschema.Schema{
|
||||
"video_id": {Type: "string", Description: vidUsage},
|
||||
"output": {
|
||||
Type: "string", Enum: []any{"json", "yaml", "silent"},
|
||||
Description: pkg.SilentUsage, Default: jsontext.Value(`"yaml"`),
|
||||
Description: pkg.SilentUsage, Default: jsontext.Value(`"json"`),
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
@@ -39,7 +39,7 @@ var getRatingInSchema = &jsonschema.Schema{
|
||||
"on_behalf_of_content_owner": {Type: "string", Description: pkg.OBOCOUsage},
|
||||
"output": {
|
||||
Type: "string", Enum: []any{"json", "yaml", "table"},
|
||||
Description: pkg.TableUsage, Default: jsontext.Value(`"yaml"`),
|
||||
Description: pkg.TableUsage, Default: jsontext.Value(`"json"`),
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
+1
-1
@@ -79,7 +79,7 @@ var insertInSchema = &jsonschema.Schema{
|
||||
},
|
||||
"output": {
|
||||
Type: "string", Enum: []any{"json", "yaml", "silent"},
|
||||
Description: pkg.SilentUsage, Default: jsontext.Value(`"yaml"`),
|
||||
Description: pkg.SilentUsage, Default: jsontext.Value(`"json"`),
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
+1
-1
@@ -68,7 +68,7 @@ var listInSchema = &jsonschema.Schema{
|
||||
},
|
||||
"output": {
|
||||
Type: "string", Enum: []any{"json", "yaml", "table"},
|
||||
Description: pkg.TableUsage, Default: jsontext.Value(`"yaml"`),
|
||||
Description: pkg.TableUsage, Default: jsontext.Value(`"json"`),
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
+1
-1
@@ -68,7 +68,7 @@ var updateInSchema = &jsonschema.Schema{
|
||||
"recording_date": {Type: "string", Description: rdUsage},
|
||||
"output": {
|
||||
Type: "string", Enum: []any{"json", "yaml", "silent"},
|
||||
Description: pkg.SilentUsage, Default: jsontext.Value(`"yaml"`),
|
||||
Description: pkg.SilentUsage, Default: jsontext.Value(`"json"`),
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
@@ -36,9 +36,8 @@ var listInSchema = &jsonschema.Schema{
|
||||
Default: jsontext.Value(`["id","snippet"]`),
|
||||
},
|
||||
"output": {
|
||||
Type: "string", Description: pkg.TableUsage,
|
||||
Enum: []any{"json", "yaml", "table"},
|
||||
Default: jsontext.Value(`"yaml"`),
|
||||
Type: "string", Enum: []any{"json", "yaml", "table"},
|
||||
Description: pkg.TableUsage, Default: jsontext.Value(`"json"`),
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user