From 57cde6b9348dcc9046b73e77c9f520e522bae8e8 Mon Sep 17 00:00:00 2001 From: OpenWaygate <27287694+OpenWaygate@users.noreply.github.com> Date: Sat, 12 Sep 2026 18:14:46 +0800 Subject: [PATCH] :children_crossing: Default MCP output to JSON --- cmd/abuseReport/insert.go | 2 +- cmd/activity/list.go | 2 +- cmd/caption/insert.go | 5 ++--- cmd/caption/list.go | 5 ++--- cmd/caption/update.go | 5 ++--- cmd/channel/list.go | 2 +- cmd/channel/update.go | 2 +- cmd/channelBanner/insert.go | 2 +- cmd/channelSection/list.go | 2 +- cmd/comment/insert.go | 2 +- cmd/comment/list.go | 2 +- cmd/comment/markAsSpam.go | 2 +- cmd/comment/setModerationStatus.go | 2 +- cmd/comment/update.go | 2 +- cmd/commentThread/insert.go | 2 +- cmd/commentThread/list.go | 2 +- cmd/liveBroadcast/bind.go | 2 +- cmd/liveBroadcast/insert.go | 2 +- cmd/liveBroadcast/insertCuepoint.go | 2 +- cmd/liveBroadcast/list.go | 2 +- cmd/liveBroadcast/transition.go | 2 +- cmd/liveBroadcast/update.go | 2 +- cmd/liveChatBan/insert.go | 2 +- cmd/liveChatMessage/insert.go | 2 +- cmd/liveChatMessage/list.go | 2 +- cmd/liveChatMessage/transition.go | 2 +- cmd/liveChatModerator/insert.go | 2 +- cmd/liveChatModerator/list.go | 2 +- cmd/liveStream/insert.go | 2 +- cmd/liveStream/list.go | 2 +- cmd/liveStream/update.go | 2 +- cmd/member/list.go | 2 +- cmd/membershipsLevel/list.go | 2 +- cmd/playlist/insert.go | 2 +- cmd/playlist/list.go | 2 +- cmd/playlist/update.go | 2 +- cmd/playlistImage/insert.go | 2 +- cmd/playlistImage/list.go | 2 +- cmd/playlistImage/update.go | 2 +- cmd/playlistItem/insert.go | 2 +- cmd/playlistItem/list.go | 2 +- cmd/playlistItem/update.go | 2 +- cmd/search/list.go | 2 +- cmd/subscription/insert.go | 2 +- cmd/subscription/list.go | 2 +- cmd/superChatEvent/list.go | 2 +- cmd/thirdPartyLink/insert.go | 2 +- cmd/thirdPartyLink/list.go | 2 +- cmd/thirdPartyLink/update.go | 2 +- cmd/thumbnail/set.go | 2 +- cmd/video/getRating.go | 2 +- cmd/video/insert.go | 2 +- cmd/video/list.go | 2 +- cmd/video/update.go | 2 +- cmd/videoAbuseReportReason/list.go | 5 ++--- 55 files changed, 59 insertions(+), 63 deletions(-) diff --git a/cmd/abuseReport/insert.go b/cmd/abuseReport/insert.go index c6c2d38..b60f35b 100644 --- a/cmd/abuseReport/insert.go +++ b/cmd/abuseReport/insert.go @@ -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"`), }, }, } diff --git a/cmd/activity/list.go b/cmd/activity/list.go index da6f76c..bc5b140 100644 --- a/cmd/activity/list.go +++ b/cmd/activity/list.go @@ -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"`), }, }, } diff --git a/cmd/caption/insert.go b/cmd/caption/insert.go index 65b5da9..110febd 100644 --- a/cmd/caption/insert.go +++ b/cmd/caption/insert.go @@ -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"`), }, }, } diff --git a/cmd/caption/list.go b/cmd/caption/list.go index 628e1b1..73efbb5 100644 --- a/cmd/caption/list.go +++ b/cmd/caption/list.go @@ -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"`), }, }, } diff --git a/cmd/caption/update.go b/cmd/caption/update.go index 6692312..84ade89 100644 --- a/cmd/caption/update.go +++ b/cmd/caption/update.go @@ -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"`), }, }, } diff --git a/cmd/channel/list.go b/cmd/channel/list.go index 23629f4..f778020 100644 --- a/cmd/channel/list.go +++ b/cmd/channel/list.go @@ -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"`), }, }, } diff --git a/cmd/channel/update.go b/cmd/channel/update.go index ad6b0a4..35872b6 100644 --- a/cmd/channel/update.go +++ b/cmd/channel/update.go @@ -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"`), }, }, } diff --git a/cmd/channelBanner/insert.go b/cmd/channelBanner/insert.go index 4125db9..3d33ccb 100644 --- a/cmd/channelBanner/insert.go +++ b/cmd/channelBanner/insert.go @@ -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"`), }, }, } diff --git a/cmd/channelSection/list.go b/cmd/channelSection/list.go index d80d9c9..553ee5f 100644 --- a/cmd/channelSection/list.go +++ b/cmd/channelSection/list.go @@ -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"`), }, }, } diff --git a/cmd/comment/insert.go b/cmd/comment/insert.go index c0c031d..99504a2 100644 --- a/cmd/comment/insert.go +++ b/cmd/comment/insert.go @@ -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"`), }, }, } diff --git a/cmd/comment/list.go b/cmd/comment/list.go index 3bec289..de8eddd 100644 --- a/cmd/comment/list.go +++ b/cmd/comment/list.go @@ -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"`), }, }, } diff --git a/cmd/comment/markAsSpam.go b/cmd/comment/markAsSpam.go index 7aa3f92..adbf5ee 100644 --- a/cmd/comment/markAsSpam.go +++ b/cmd/comment/markAsSpam.go @@ -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"`), }, }, } diff --git a/cmd/comment/setModerationStatus.go b/cmd/comment/setModerationStatus.go index e965a52..e743fdc 100644 --- a/cmd/comment/setModerationStatus.go +++ b/cmd/comment/setModerationStatus.go @@ -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"`), }, }, } diff --git a/cmd/comment/update.go b/cmd/comment/update.go index 4fa7c6d..9555c3d 100644 --- a/cmd/comment/update.go +++ b/cmd/comment/update.go @@ -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"`), }, }, } diff --git a/cmd/commentThread/insert.go b/cmd/commentThread/insert.go index 56c982a..68fb44a 100644 --- a/cmd/commentThread/insert.go +++ b/cmd/commentThread/insert.go @@ -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"`), }, }, } diff --git a/cmd/commentThread/list.go b/cmd/commentThread/list.go index e7ea3f5..29a4d54 100644 --- a/cmd/commentThread/list.go +++ b/cmd/commentThread/list.go @@ -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"`), }, }, } diff --git a/cmd/liveBroadcast/bind.go b/cmd/liveBroadcast/bind.go index 08690aa..85c3a7e 100644 --- a/cmd/liveBroadcast/bind.go +++ b/cmd/liveBroadcast/bind.go @@ -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"`), }, }, } diff --git a/cmd/liveBroadcast/insert.go b/cmd/liveBroadcast/insert.go index 8373265..2888a61 100644 --- a/cmd/liveBroadcast/insert.go +++ b/cmd/liveBroadcast/insert.go @@ -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"`), }, }, } diff --git a/cmd/liveBroadcast/insertCuepoint.go b/cmd/liveBroadcast/insertCuepoint.go index 67f11b2..8b0ba97 100644 --- a/cmd/liveBroadcast/insertCuepoint.go +++ b/cmd/liveBroadcast/insertCuepoint.go @@ -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"`), }, }, } diff --git a/cmd/liveBroadcast/list.go b/cmd/liveBroadcast/list.go index 62da56e..ccda6ff 100644 --- a/cmd/liveBroadcast/list.go +++ b/cmd/liveBroadcast/list.go @@ -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"`), }, }, } diff --git a/cmd/liveBroadcast/transition.go b/cmd/liveBroadcast/transition.go index 4d3c076..527245b 100644 --- a/cmd/liveBroadcast/transition.go +++ b/cmd/liveBroadcast/transition.go @@ -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"`), }, }, } diff --git a/cmd/liveBroadcast/update.go b/cmd/liveBroadcast/update.go index 5eca752..a63d06c 100644 --- a/cmd/liveBroadcast/update.go +++ b/cmd/liveBroadcast/update.go @@ -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"`), }, }, } diff --git a/cmd/liveChatBan/insert.go b/cmd/liveChatBan/insert.go index 2a99a32..c06b379 100644 --- a/cmd/liveChatBan/insert.go +++ b/cmd/liveChatBan/insert.go @@ -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"`), }, }, } diff --git a/cmd/liveChatMessage/insert.go b/cmd/liveChatMessage/insert.go index 4e972a2..d6816b7 100644 --- a/cmd/liveChatMessage/insert.go +++ b/cmd/liveChatMessage/insert.go @@ -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"`), }, }, } diff --git a/cmd/liveChatMessage/list.go b/cmd/liveChatMessage/list.go index ea4a1fb..e4c6998 100644 --- a/cmd/liveChatMessage/list.go +++ b/cmd/liveChatMessage/list.go @@ -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"`), }, }, } diff --git a/cmd/liveChatMessage/transition.go b/cmd/liveChatMessage/transition.go index b108f53..dd66ac9 100644 --- a/cmd/liveChatMessage/transition.go +++ b/cmd/liveChatMessage/transition.go @@ -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"`), }, }, } diff --git a/cmd/liveChatModerator/insert.go b/cmd/liveChatModerator/insert.go index 92bddb3..bcf089d 100644 --- a/cmd/liveChatModerator/insert.go +++ b/cmd/liveChatModerator/insert.go @@ -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"`), }, }, } diff --git a/cmd/liveChatModerator/list.go b/cmd/liveChatModerator/list.go index 0cc12ee..0f5a0e5 100644 --- a/cmd/liveChatModerator/list.go +++ b/cmd/liveChatModerator/list.go @@ -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"`), }, }, } diff --git a/cmd/liveStream/insert.go b/cmd/liveStream/insert.go index a427035..219dfc2 100644 --- a/cmd/liveStream/insert.go +++ b/cmd/liveStream/insert.go @@ -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"`), }, }, } diff --git a/cmd/liveStream/list.go b/cmd/liveStream/list.go index 6c9807a..b6af452 100644 --- a/cmd/liveStream/list.go +++ b/cmd/liveStream/list.go @@ -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"`), }, }, } diff --git a/cmd/liveStream/update.go b/cmd/liveStream/update.go index b6e67c6..7f4e261 100644 --- a/cmd/liveStream/update.go +++ b/cmd/liveStream/update.go @@ -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"`), }, }, } diff --git a/cmd/member/list.go b/cmd/member/list.go index 21e768e..96910a2 100644 --- a/cmd/member/list.go +++ b/cmd/member/list.go @@ -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"`), }, }, } diff --git a/cmd/membershipsLevel/list.go b/cmd/membershipsLevel/list.go index c49659e..cfab249 100644 --- a/cmd/membershipsLevel/list.go +++ b/cmd/membershipsLevel/list.go @@ -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"`), }, }, } diff --git a/cmd/playlist/insert.go b/cmd/playlist/insert.go index 05af63e..25b4e13 100644 --- a/cmd/playlist/insert.go +++ b/cmd/playlist/insert.go @@ -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"`), }, }, } diff --git a/cmd/playlist/list.go b/cmd/playlist/list.go index 16b3f6b..3fb628d 100644 --- a/cmd/playlist/list.go +++ b/cmd/playlist/list.go @@ -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"`), }, }, } diff --git a/cmd/playlist/update.go b/cmd/playlist/update.go index 649d006..f28177e 100644 --- a/cmd/playlist/update.go +++ b/cmd/playlist/update.go @@ -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"`), }, }, } diff --git a/cmd/playlistImage/insert.go b/cmd/playlistImage/insert.go index cb91587..7dd6b1f 100644 --- a/cmd/playlistImage/insert.go +++ b/cmd/playlistImage/insert.go @@ -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"`), }, }, } diff --git a/cmd/playlistImage/list.go b/cmd/playlistImage/list.go index 0158b5f..551e91b 100644 --- a/cmd/playlistImage/list.go +++ b/cmd/playlistImage/list.go @@ -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"`), }, }, } diff --git a/cmd/playlistImage/update.go b/cmd/playlistImage/update.go index 56fe7c0..f72a685 100644 --- a/cmd/playlistImage/update.go +++ b/cmd/playlistImage/update.go @@ -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"`), }, }, } diff --git a/cmd/playlistItem/insert.go b/cmd/playlistItem/insert.go index ac6c6d4..a2dca41 100644 --- a/cmd/playlistItem/insert.go +++ b/cmd/playlistItem/insert.go @@ -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"`), }, }, } diff --git a/cmd/playlistItem/list.go b/cmd/playlistItem/list.go index cee07e6..bc65f65 100644 --- a/cmd/playlistItem/list.go +++ b/cmd/playlistItem/list.go @@ -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"`), }, }, } diff --git a/cmd/playlistItem/update.go b/cmd/playlistItem/update.go index 17e3fb7..c2c5605 100644 --- a/cmd/playlistItem/update.go +++ b/cmd/playlistItem/update.go @@ -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"`), }, }, } diff --git a/cmd/search/list.go b/cmd/search/list.go index d62222e..645acfb 100644 --- a/cmd/search/list.go +++ b/cmd/search/list.go @@ -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"`), }, }, } diff --git a/cmd/subscription/insert.go b/cmd/subscription/insert.go index 87712ad..aaae380 100644 --- a/cmd/subscription/insert.go +++ b/cmd/subscription/insert.go @@ -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"`), }, }, } diff --git a/cmd/subscription/list.go b/cmd/subscription/list.go index 3c39e2a..4379dc7 100644 --- a/cmd/subscription/list.go +++ b/cmd/subscription/list.go @@ -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"`), }, }, } diff --git a/cmd/superChatEvent/list.go b/cmd/superChatEvent/list.go index 7e672de..ea7499c 100644 --- a/cmd/superChatEvent/list.go +++ b/cmd/superChatEvent/list.go @@ -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"`), }, }, } diff --git a/cmd/thirdPartyLink/insert.go b/cmd/thirdPartyLink/insert.go index 5bc2a05..9f9e476 100644 --- a/cmd/thirdPartyLink/insert.go +++ b/cmd/thirdPartyLink/insert.go @@ -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"`), }, }, } diff --git a/cmd/thirdPartyLink/list.go b/cmd/thirdPartyLink/list.go index 262fc23..3eccc42 100644 --- a/cmd/thirdPartyLink/list.go +++ b/cmd/thirdPartyLink/list.go @@ -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"`), }, }, } diff --git a/cmd/thirdPartyLink/update.go b/cmd/thirdPartyLink/update.go index 2401683..667deba 100644 --- a/cmd/thirdPartyLink/update.go +++ b/cmd/thirdPartyLink/update.go @@ -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"`), }, }, } diff --git a/cmd/thumbnail/set.go b/cmd/thumbnail/set.go index 3341f4b..83bd652 100644 --- a/cmd/thumbnail/set.go +++ b/cmd/thumbnail/set.go @@ -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"`), }, }, } diff --git a/cmd/video/getRating.go b/cmd/video/getRating.go index 98ed859..1fb4630 100644 --- a/cmd/video/getRating.go +++ b/cmd/video/getRating.go @@ -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"`), }, }, } diff --git a/cmd/video/insert.go b/cmd/video/insert.go index 4764419..f10747c 100644 --- a/cmd/video/insert.go +++ b/cmd/video/insert.go @@ -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"`), }, }, } diff --git a/cmd/video/list.go b/cmd/video/list.go index b2fa8ea..afe611f 100644 --- a/cmd/video/list.go +++ b/cmd/video/list.go @@ -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"`), }, }, } diff --git a/cmd/video/update.go b/cmd/video/update.go index 65ece6d..bc48516 100644 --- a/cmd/video/update.go +++ b/cmd/video/update.go @@ -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"`), }, }, } diff --git a/cmd/videoAbuseReportReason/list.go b/cmd/videoAbuseReportReason/list.go index 8209b0b..c85b92f 100644 --- a/cmd/videoAbuseReportReason/list.go +++ b/cmd/videoAbuseReportReason/list.go @@ -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"`), }, }, }