diff --git a/examples/ex_2ch/oas_router_gen.go b/examples/ex_2ch/oas_router_gen.go index c93d7bbdf..bad9df6af 100644 --- a/examples/ex_2ch/oas_router_gen.go +++ b/examples/ex_2ch/oas_router_gen.go @@ -785,9 +785,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: APICaptcha2chcaptchaIDGet r.name = "APICaptcha2chcaptchaIDGet" r.summary = "Получение ид для использования 2chcaptcha." r.operationID = "" @@ -810,9 +810,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: APICaptcha2chcaptchaShowGet r.name = "APICaptcha2chcaptchaShowGet" r.summary = "Отображение 2chcaptcha по id." r.operationID = "" @@ -843,9 +843,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: APICaptchaAppIDPublicKeyGet r.name = "APICaptchaAppIDPublicKeyGet" r.summary = "Получение app_response_id для отправки поста." r.operationID = "" @@ -880,9 +880,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: APICaptchaInvisibleRecaptchaIDGet r.name = "APICaptchaInvisibleRecaptchaIDGet" r.summary = "Получение публичного ключа invisible recaptcha." r.operationID = "" @@ -905,9 +905,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: APICaptchaInvisibleRecaptchaMobileGet r.name = "APICaptchaInvisibleRecaptchaMobileGet" r.summary = "Получение html страницы для решения капчи, CORS отключён." r.operationID = "" @@ -945,9 +945,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: APICaptchaRecaptchaIDGet r.name = "APICaptchaRecaptchaIDGet" r.summary = "Получение публичного ключа recaptcha v2." r.operationID = "" @@ -970,9 +970,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: APICaptchaRecaptchaMobileGet r.name = "APICaptchaRecaptchaMobileGet" r.summary = "Получение html страницы для решения капчи, CORS отключён." r.operationID = "" @@ -1001,9 +1001,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: APIDislikeGet r.name = "APIDislikeGet" r.summary = "Добавление дизлайка на пост." r.operationID = "" @@ -1026,9 +1026,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: APILikeGet r.name = "APILikeGet" r.summary = "Добавление лайка на пост." r.operationID = "" @@ -1110,9 +1110,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: APIMobileV2AfterBoardThreadNumGet r.name = "APIMobileV2AfterBoardThreadNumGet" r.summary = "Получение постов в треде >= указанного. Не рекомендуется использовать для получения треда целиком, только для проверки новых постов." r.operationID = "" @@ -1141,9 +1141,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: APIMobileV2BoardsGet r.name = "APIMobileV2BoardsGet" r.summary = "Получение списка досок и их настроек." r.operationID = "" @@ -1192,9 +1192,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: APIMobileV2InfoBoardThreadGet r.name = "APIMobileV2InfoBoardThreadGet" r.summary = "Получение информации о треде." r.operationID = "" @@ -1246,9 +1246,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: APIMobileV2PostBoardNumGet r.name = "APIMobileV2PostBoardNumGet" r.summary = "Получение информации о посте." r.operationID = "" @@ -1304,9 +1304,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: UserPassloginPost r.name = "UserPassloginPost" r.summary = "Авторизация пасскода." r.operationID = "" @@ -1329,9 +1329,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: UserPostingPost r.name = "UserPostingPost" r.summary = "Создание нового поста или треда." r.operationID = "" @@ -1357,9 +1357,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: UserReportPost r.name = "UserReportPost" r.summary = "Отправка жалобы." r.operationID = "" diff --git a/examples/ex_ent/oas_router_gen.go b/examples/ex_ent/oas_router_gen.go index 6ddfe41aa..38c1b2a8d 100644 --- a/examples/ex_ent/oas_router_gen.go +++ b/examples/ex_ent/oas_router_gen.go @@ -394,9 +394,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ListPetCategories r.name = "ListPetCategories" r.summary = "List attached Categories" r.operationID = "listPetCategories" @@ -405,7 +405,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 1 return r, true case "POST": - // Leaf: CreatePetCategories r.name = "CreatePetCategories" r.summary = "Create a new Category and attach it to the Pet" r.operationID = "createPetCategories" @@ -428,9 +427,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ListPetFriends r.name = "ListPetFriends" r.summary = "List attached Friends" r.operationID = "listPetFriends" @@ -439,7 +438,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 1 return r, true case "POST": - // Leaf: CreatePetFriends r.name = "CreatePetFriends" r.summary = "Create a new Pet and attach it to the Pet" r.operationID = "createPetFriends" @@ -462,9 +460,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "DELETE": - // Leaf: DeletePetOwner r.name = "DeletePetOwner" r.summary = "Delete the attached Owner" r.operationID = "deletePetOwner" @@ -473,7 +471,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 1 return r, true case "GET": - // Leaf: ReadPetOwner r.name = "ReadPetOwner" r.summary = "Find the attached User" r.operationID = "readPetOwner" @@ -482,7 +479,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 1 return r, true case "POST": - // Leaf: CreatePetOwner r.name = "CreatePetOwner" r.summary = "Create a new User and attach it to the Pet" r.operationID = "createPetOwner" diff --git a/examples/ex_firecracker/oas_router_gen.go b/examples/ex_firecracker/oas_router_gen.go index f65e4440f..5036294c2 100644 --- a/examples/ex_firecracker/oas_router_gen.go +++ b/examples/ex_firecracker/oas_router_gen.go @@ -618,9 +618,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "PUT": - // Leaf: CreateSyncAction r.name = "CreateSyncAction" r.summary = "Creates a synchronous action." r.operationID = "createSyncAction" @@ -694,9 +694,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: DescribeBalloonStats r.name = "DescribeBalloonStats" r.summary = "Returns the latest balloon device statistics, only if enabled pre-boot." r.operationID = "describeBalloonStats" @@ -705,7 +705,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 0 return r, true case "PATCH": - // Leaf: PatchBalloonStatsInterval r.name = "PatchBalloonStatsInterval" r.summary = "Updates a balloon device statistics polling interval." r.operationID = "patchBalloonStatsInterval" @@ -731,9 +730,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "PUT": - // Leaf: PutGuestBootSource r.name = "PutGuestBootSource" r.summary = "Creates or updates the boot source. Pre-boot only." r.operationID = "putGuestBootSource" @@ -764,9 +763,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "PATCH": - // Leaf: PatchGuestDriveByID r.name = "PatchGuestDriveByID" r.summary = "Updates the properties of a drive. Post-boot only." r.operationID = "patchGuestDriveByID" @@ -775,7 +774,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 1 return r, true case "PUT": - // Leaf: PutGuestDriveByID r.name = "PutGuestDriveByID" r.summary = "Creates or updates a drive. Pre-boot only." r.operationID = "putGuestDriveByID" @@ -798,9 +796,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "PUT": - // Leaf: PutLogger r.name = "PutLogger" r.summary = "Initializes the logger by specifying a named pipe or a file for the logs output." r.operationID = "putLogger" @@ -835,9 +833,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: GetMachineConfiguration r.name = "GetMachineConfiguration" r.summary = "Gets the machine configuration of the VM." r.operationID = "getMachineConfiguration" @@ -846,7 +844,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 0 return r, true case "PATCH": - // Leaf: PatchMachineConfiguration r.name = "PatchMachineConfiguration" r.summary = "Partially updates the Machine Configuration of the VM. Pre-boot only." r.operationID = "patchMachineConfiguration" @@ -855,7 +852,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 0 return r, true case "PUT": - // Leaf: PutMachineConfiguration r.name = "PutMachineConfiguration" r.summary = "Updates the Machine Configuration of the VM. Pre-boot only." r.operationID = "putMachineConfiguration" @@ -878,9 +874,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "PUT": - // Leaf: PutMetrics r.name = "PutMetrics" r.summary = "Initializes the metrics system by specifying a named pipe or a file for the metrics output." r.operationID = "putMetrics" @@ -942,9 +938,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "PUT": - // Leaf: MmdsConfigPut r.name = "MmdsConfigPut" r.summary = "Set MMDS configuration. Pre-boot only." r.operationID = "" @@ -978,9 +974,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "PATCH": - // Leaf: PatchGuestNetworkInterfaceByID r.name = "PatchGuestNetworkInterfaceByID" r.summary = "Updates the rate limiters applied to a network interface. Post-boot only." r.operationID = "patchGuestNetworkInterfaceByID" @@ -989,7 +985,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 1 return r, true case "PUT": - // Leaf: PutGuestNetworkInterfaceByID r.name = "PutGuestNetworkInterfaceByID" r.summary = "Creates a network interface. Pre-boot only." r.operationID = "putGuestNetworkInterfaceByID" @@ -1024,9 +1019,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "PUT": - // Leaf: CreateSnapshot r.name = "CreateSnapshot" r.summary = "Creates a full or diff snapshot. Post-boot only." r.operationID = "createSnapshot" @@ -1049,9 +1044,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "PUT": - // Leaf: LoadSnapshot r.name = "LoadSnapshot" r.summary = "Loads a snapshot. Pre-boot only." r.operationID = "loadSnapshot" @@ -1112,9 +1107,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: GetExportVmConfig r.name = "GetExportVmConfig" r.summary = "Gets the full VM configuration." r.operationID = "getExportVmConfig" @@ -1140,9 +1135,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "PUT": - // Leaf: PutGuestVsock r.name = "PutGuestVsock" r.summary = "Creates/updates a vsock device. Pre-boot only." r.operationID = "putGuestVsock" diff --git a/examples/ex_github/oas_router_gen.go b/examples/ex_github/oas_router_gen.go index c17a9d09e..b73ec3a56 100644 --- a/examples/ex_github/oas_router_gen.go +++ b/examples/ex_github/oas_router_gen.go @@ -16663,9 +16663,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: AppsCreateFromManifest r.name = "AppsCreateFromManifest" r.summary = "Create a GitHub App from a manifest" r.operationID = "apps/create-from-manifest" @@ -16715,9 +16715,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: AppsGetWebhookConfigForApp r.name = "AppsGetWebhookConfigForApp" r.summary = "Get a webhook configuration for an app" r.operationID = "apps/get-webhook-config-for-app" @@ -16726,7 +16726,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 0 return r, true case "PATCH": - // Leaf: AppsUpdateWebhookConfigForApp r.name = "AppsUpdateWebhookConfigForApp" r.summary = "Update a webhook configuration for an app" r.operationID = "apps/update-webhook-config-for-app" @@ -16804,9 +16803,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: AppsRedeliverWebhookDelivery r.name = "AppsRedeliverWebhookDelivery" r.summary = "Redeliver a delivery for an app webhook" r.operationID = "apps/redeliver-webhook-delivery" @@ -16882,9 +16881,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: AppsCreateInstallationAccessToken r.name = "AppsCreateInstallationAccessToken" r.summary = "Create an installation access token for an app" r.operationID = "apps/create-installation-access-token" @@ -16907,9 +16906,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "DELETE": - // Leaf: AppsUnsuspendInstallation r.name = "AppsUnsuspendInstallation" r.summary = "Unsuspend an app installation" r.operationID = "apps/unsuspend-installation" @@ -16918,7 +16917,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 1 return r, true case "PUT": - // Leaf: AppsSuspendInstallation r.name = "AppsSuspendInstallation" r.summary = "Suspend an app installation" r.operationID = "apps/suspend-installation" @@ -16990,9 +16988,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "DELETE": - // Leaf: OAuthAuthorizationsDeleteGrant r.name = "OAuthAuthorizationsDeleteGrant" r.summary = "Delete a grant" r.operationID = "oauth-authorizations/delete-grant" @@ -17001,7 +16999,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 1 return r, true case "GET": - // Leaf: OAuthAuthorizationsGetGrant r.name = "OAuthAuthorizationsGetGrant" r.summary = "Get a single grant" r.operationID = "oauth-authorizations/get-grant" @@ -17053,9 +17050,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "DELETE": - // Leaf: AppsDeleteAuthorization r.name = "AppsDeleteAuthorization" r.summary = "Delete an app authorization" r.operationID = "apps/delete-authorization" @@ -17117,9 +17114,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: AppsScopeToken r.name = "AppsScopeToken" r.summary = "Create a scoped access token" r.operationID = "apps/scope-token" @@ -17156,9 +17153,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: AppsGetBySlug r.name = "AppsGetBySlug" r.summary = "Get an app" r.operationID = "apps/get-by-slug" @@ -17264,9 +17261,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "PUT": - // Leaf: OAuthAuthorizationsGetOrCreateAuthorizationForAppAndFingerprint r.name = "OAuthAuthorizationsGetOrCreateAuthorizationForAppAndFingerprint" r.summary = "Get-or-create an authorization for a specific app and fingerprint" r.operationID = "oauth-authorizations/get-or-create-authorization-for-app-and-fingerprint" @@ -17290,9 +17287,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "DELETE": - // Leaf: OAuthAuthorizationsDeleteAuthorization r.name = "OAuthAuthorizationsDeleteAuthorization" r.summary = "Delete an authorization" r.operationID = "oauth-authorizations/delete-authorization" @@ -17301,7 +17298,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 1 return r, true case "GET": - // Leaf: OAuthAuthorizationsGetAuthorization r.name = "OAuthAuthorizationsGetAuthorization" r.summary = "Get a single authorization" r.operationID = "oauth-authorizations/get-authorization" @@ -17310,7 +17306,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 1 return r, true case "PATCH": - // Leaf: OAuthAuthorizationsUpdateAuthorization r.name = "OAuthAuthorizationsUpdateAuthorization" r.summary = "Update an existing authorization" r.operationID = "oauth-authorizations/update-authorization" @@ -17367,9 +17362,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: CodesOfConductGetConductCode r.name = "CodesOfConductGetConductCode" r.summary = "Get a code of conduct" r.operationID = "codes-of-conduct/get-conduct-code" @@ -17407,9 +17402,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: EmojisGet r.name = "EmojisGet" r.summary = "Get emojis" r.operationID = "emojis/get" @@ -17568,9 +17563,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "DELETE": - // Leaf: EnterpriseAdminDisableSelectedOrganizationGithubActionsEnterprise r.name = "EnterpriseAdminDisableSelectedOrganizationGithubActionsEnterprise" r.summary = "Disable a selected organization for GitHub Actions in an enterprise" r.operationID = "enterprise-admin/disable-selected-organization-github-actions-enterprise" @@ -17579,7 +17574,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 2 return r, true case "PUT": - // Leaf: EnterpriseAdminEnableSelectedOrganizationGithubActionsEnterprise r.name = "EnterpriseAdminEnableSelectedOrganizationGithubActionsEnterprise" r.summary = "Enable a selected organization for GitHub Actions in an enterprise" r.operationID = "enterprise-admin/enable-selected-organization-github-actions-enterprise" @@ -17605,9 +17599,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: EnterpriseAdminGetAllowedActionsEnterprise r.name = "EnterpriseAdminGetAllowedActionsEnterprise" r.summary = "Get allowed actions for an enterprise" r.operationID = "enterprise-admin/get-allowed-actions-enterprise" @@ -17616,7 +17610,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 1 return r, true case "PUT": - // Leaf: EnterpriseAdminSetAllowedActionsEnterprise r.name = "EnterpriseAdminSetAllowedActionsEnterprise" r.summary = "Set allowed actions for an enterprise" r.operationID = "enterprise-admin/set-allowed-actions-enterprise" @@ -17784,9 +17777,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "DELETE": - // Leaf: EnterpriseAdminRemoveOrgAccessToSelfHostedRunnerGroupInEnterprise r.name = "EnterpriseAdminRemoveOrgAccessToSelfHostedRunnerGroupInEnterprise" r.summary = "Remove organization access to a self-hosted runner group in an enterprise" r.operationID = "enterprise-admin/remove-org-access-to-self-hosted-runner-group-in-enterprise" @@ -17795,7 +17788,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 3 return r, true case "PUT": - // Leaf: EnterpriseAdminAddOrgAccessToSelfHostedRunnerGroupInEnterprise r.name = "EnterpriseAdminAddOrgAccessToSelfHostedRunnerGroupInEnterprise" r.summary = "Add organization access to a self-hosted runner group in an enterprise" r.operationID = "enterprise-admin/add-org-access-to-self-hosted-runner-group-in-enterprise" @@ -17857,9 +17849,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "DELETE": - // Leaf: EnterpriseAdminRemoveSelfHostedRunnerFromGroupForEnterprise r.name = "EnterpriseAdminRemoveSelfHostedRunnerFromGroupForEnterprise" r.summary = "Remove a self-hosted runner from a group for an enterprise" r.operationID = "enterprise-admin/remove-self-hosted-runner-from-group-for-enterprise" @@ -17868,7 +17860,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 3 return r, true case "PUT": - // Leaf: EnterpriseAdminAddSelfHostedRunnerToGroupForEnterprise r.name = "EnterpriseAdminAddSelfHostedRunnerToGroupForEnterprise" r.summary = "Add a self-hosted runner to a group for an enterprise" r.operationID = "enterprise-admin/add-self-hosted-runner-to-group-for-enterprise" @@ -17938,9 +17929,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: EnterpriseAdminListRunnerApplicationsForEnterprise r.name = "EnterpriseAdminListRunnerApplicationsForEnterprise" r.summary = "List runner applications for an enterprise" r.operationID = "enterprise-admin/list-runner-applications-for-enterprise" @@ -17975,9 +17966,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: EnterpriseAdminCreateRegistrationTokenForEnterprise r.name = "EnterpriseAdminCreateRegistrationTokenForEnterprise" r.summary = "Create a registration token for an enterprise" r.operationID = "enterprise-admin/create-registration-token-for-enterprise" @@ -18000,9 +17991,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: EnterpriseAdminCreateRemoveTokenForEnterprise r.name = "EnterpriseAdminCreateRemoveTokenForEnterprise" r.summary = "Create a remove token for an enterprise" r.operationID = "enterprise-admin/create-remove-token-for-enterprise" @@ -18026,9 +18017,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "DELETE": - // Leaf: EnterpriseAdminDeleteSelfHostedRunnerFromEnterprise r.name = "EnterpriseAdminDeleteSelfHostedRunnerFromEnterprise" r.summary = "Delete a self-hosted runner from an enterprise" r.operationID = "enterprise-admin/delete-self-hosted-runner-from-enterprise" @@ -18037,7 +18028,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 2 return r, true case "GET": - // Leaf: EnterpriseAdminGetSelfHostedRunnerForEnterprise r.name = "EnterpriseAdminGetSelfHostedRunnerForEnterprise" r.summary = "Get a self-hosted runner for an enterprise" r.operationID = "enterprise-admin/get-self-hosted-runner-for-enterprise" @@ -18069,9 +18059,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: EnterpriseAdminGetAuditLog r.name = "EnterpriseAdminGetAuditLog" r.summary = "Get the audit log for an enterprise" r.operationID = "enterprise-admin/get-audit-log" @@ -18109,9 +18099,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: BillingGetGithubActionsBillingGhe r.name = "BillingGetGithubActionsBillingGhe" r.summary = "Get GitHub Actions billing for an enterprise" r.operationID = "billing/get-github-actions-billing-ghe" @@ -18134,9 +18124,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: BillingGetGithubPackagesBillingGhe r.name = "BillingGetGithubPackagesBillingGhe" r.summary = "Get GitHub Packages billing for an enterprise" r.operationID = "billing/get-github-packages-billing-ghe" @@ -18159,9 +18149,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: BillingGetSharedStorageBillingGhe r.name = "BillingGetSharedStorageBillingGhe" r.summary = "Get shared storage billing for an enterprise" r.operationID = "billing/get-shared-storage-billing-ghe" @@ -18193,9 +18183,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ActivityListPublicEvents r.name = "ActivityListPublicEvents" r.summary = "List public events" r.operationID = "activity/list-public-events" @@ -18221,9 +18211,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ActivityGetFeeds r.name = "ActivityGetFeeds" r.summary = "Get feeds" r.operationID = "activity/get-feeds" @@ -18301,9 +18291,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: GistsListPublic r.name = "GistsListPublic" r.summary = "List public gists" r.operationID = "gists/list-public" @@ -18326,9 +18316,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: GistsListStarred r.name = "GistsListStarred" r.summary = "List starred gists" r.operationID = "gists/list-starred" @@ -18444,9 +18434,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "DELETE": - // Leaf: GistsDeleteComment r.name = "GistsDeleteComment" r.summary = "Delete a gist comment" r.operationID = "gists/delete-comment" @@ -18455,7 +18445,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 2 return r, true case "GET": - // Leaf: GistsGetComment r.name = "GistsGetComment" r.summary = "Get a gist comment" r.operationID = "gists/get-comment" @@ -18464,7 +18453,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 2 return r, true case "PATCH": - // Leaf: GistsUpdateComment r.name = "GistsUpdateComment" r.summary = "Update a gist comment" r.operationID = "gists/update-comment" @@ -18490,9 +18478,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: GistsListCommits r.name = "GistsListCommits" r.summary = "List gist commits" r.operationID = "gists/list-commits" @@ -18518,9 +18506,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: GistsListForks r.name = "GistsListForks" r.summary = "List gist forks" r.operationID = "gists/list-forks" @@ -18529,7 +18517,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 1 return r, true case "POST": - // Leaf: GistsFork r.name = "GistsFork" r.summary = "Fork a gist" r.operationID = "gists/fork" @@ -18552,9 +18539,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "DELETE": - // Leaf: GistsUnstar r.name = "GistsUnstar" r.summary = "Unstar a gist" r.operationID = "gists/unstar" @@ -18563,7 +18550,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 1 return r, true case "GET": - // Leaf: GistsCheckIsStarred r.name = "GistsCheckIsStarred" r.summary = "Check if a gist is starred" r.operationID = "gists/check-is-starred" @@ -18572,7 +18558,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 1 return r, true case "PUT": - // Leaf: GistsStar r.name = "GistsStar" r.summary = "Star a gist" r.operationID = "gists/star" @@ -18593,9 +18578,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: GistsGetRevision r.name = "GistsGetRevision" r.summary = "Get a gist revision" r.operationID = "gists/get-revision" @@ -18652,9 +18637,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: GitignoreGetTemplate r.name = "GitignoreGetTemplate" r.summary = "Get a gitignore template" r.operationID = "gitignore/get-template" @@ -18707,9 +18692,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: AppsListReposAccessibleToInstallation r.name = "AppsListReposAccessibleToInstallation" r.summary = "List repositories accessible to the app installation" r.operationID = "apps/list-repos-accessible-to-installation" @@ -18732,9 +18717,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "DELETE": - // Leaf: AppsRevokeInstallationAccessToken r.name = "AppsRevokeInstallationAccessToken" r.summary = "Revoke an installation access token" r.operationID = "apps/revoke-installation-access-token" @@ -18760,9 +18745,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: IssuesList r.name = "IssuesList" r.summary = "List issues assigned to the authenticated user" r.operationID = "issues/list" @@ -18816,9 +18801,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: LicensesGet r.name = "LicensesGet" r.summary = "Get a license" r.operationID = "licenses/get" @@ -18891,9 +18876,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: MarkdownRenderRaw r.name = "MarkdownRenderRaw" r.summary = "Render a Markdown document in raw mode" r.operationID = "markdown/render-raw" @@ -18936,9 +18921,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: AppsGetSubscriptionPlanForAccount r.name = "AppsGetSubscriptionPlanForAccount" r.summary = "Get a subscription plan for an account" r.operationID = "apps/get-subscription-plan-for-account" @@ -19005,9 +18990,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: AppsListAccountsForPlan r.name = "AppsListAccountsForPlan" r.summary = "List accounts for a plan" r.operationID = "apps/list-accounts-for-plan" @@ -19053,9 +19038,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: AppsGetSubscriptionPlanForAccountStubbed r.name = "AppsGetSubscriptionPlanForAccountStubbed" r.summary = "Get a subscription plan for an account (stubbed)" r.operationID = "apps/get-subscription-plan-for-account-stubbed" @@ -19122,9 +19107,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: AppsListAccountsForPlanStubbed r.name = "AppsListAccountsForPlanStubbed" r.summary = "List accounts for a plan (stubbed)" r.operationID = "apps/list-accounts-for-plan-stubbed" @@ -19162,9 +19147,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: MetaGet r.name = "MetaGet" r.summary = "Get GitHub meta information" r.operationID = "meta/get" @@ -19244,9 +19229,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ActivityListPublicEventsForRepoNetwork r.name = "ActivityListPublicEventsForRepoNetwork" r.summary = "List public events for a network of repositories" r.operationID = "activity/list-public-events-for-repo-network" @@ -19346,9 +19331,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "DELETE": - // Leaf: ActivityDeleteThreadSubscription r.name = "ActivityDeleteThreadSubscription" r.summary = "Delete a thread subscription" r.operationID = "activity/delete-thread-subscription" @@ -19357,7 +19342,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 1 return r, true case "GET": - // Leaf: ActivityGetThreadSubscriptionForAuthenticatedUser r.name = "ActivityGetThreadSubscriptionForAuthenticatedUser" r.summary = "Get a thread subscription for the authenticated user" r.operationID = "activity/get-thread-subscription-for-authenticated-user" @@ -19366,7 +19350,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 1 return r, true case "PUT": - // Leaf: ActivitySetThreadSubscription r.name = "ActivitySetThreadSubscription" r.summary = "Set a thread subscription" r.operationID = "activity/set-thread-subscription" @@ -19410,9 +19393,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: MetaGetOctocat r.name = "MetaGetOctocat" r.summary = "Get Octocat" r.operationID = "meta/get-octocat" @@ -19447,9 +19430,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: OrgsList r.name = "OrgsList" r.summary = "List organizations" r.operationID = "orgs/list" @@ -19619,9 +19602,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "DELETE": - // Leaf: ActionsDisableSelectedRepositoryGithubActionsOrganization r.name = "ActionsDisableSelectedRepositoryGithubActionsOrganization" r.summary = "Disable a selected repository for GitHub Actions in an organization" r.operationID = "actions/disable-selected-repository-github-actions-organization" @@ -19630,7 +19613,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 2 return r, true case "PUT": - // Leaf: ActionsEnableSelectedRepositoryGithubActionsOrganization r.name = "ActionsEnableSelectedRepositoryGithubActionsOrganization" r.summary = "Enable a selected repository for GitHub Actions in an organization" r.operationID = "actions/enable-selected-repository-github-actions-organization" @@ -19656,9 +19638,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ActionsGetAllowedActionsOrganization r.name = "ActionsGetAllowedActionsOrganization" r.summary = "Get allowed actions for an organization" r.operationID = "actions/get-allowed-actions-organization" @@ -19667,7 +19649,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 1 return r, true case "PUT": - // Leaf: ActionsSetAllowedActionsOrganization r.name = "ActionsSetAllowedActionsOrganization" r.summary = "Set allowed actions for an organization" r.operationID = "actions/set-allowed-actions-organization" @@ -19835,9 +19816,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "DELETE": - // Leaf: ActionsRemoveRepoAccessToSelfHostedRunnerGroupInOrg r.name = "ActionsRemoveRepoAccessToSelfHostedRunnerGroupInOrg" r.summary = "Remove repository access to a self-hosted runner group in an organization" r.operationID = "actions/remove-repo-access-to-self-hosted-runner-group-in-org" @@ -19846,7 +19827,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 3 return r, true case "PUT": - // Leaf: ActionsAddRepoAccessToSelfHostedRunnerGroupInOrg r.name = "ActionsAddRepoAccessToSelfHostedRunnerGroupInOrg" r.summary = "Add repository access to a self-hosted runner group in an organization" r.operationID = "actions/add-repo-access-to-self-hosted-runner-group-in-org" @@ -19908,9 +19888,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "DELETE": - // Leaf: ActionsRemoveSelfHostedRunnerFromGroupForOrg r.name = "ActionsRemoveSelfHostedRunnerFromGroupForOrg" r.summary = "Remove a self-hosted runner from a group for an organization" r.operationID = "actions/remove-self-hosted-runner-from-group-for-org" @@ -19919,7 +19899,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 3 return r, true case "PUT": - // Leaf: ActionsAddSelfHostedRunnerToGroupForOrg r.name = "ActionsAddSelfHostedRunnerToGroupForOrg" r.summary = "Add a self-hosted runner to a group for an organization" r.operationID = "actions/add-self-hosted-runner-to-group-for-org" @@ -19989,9 +19968,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ActionsListRunnerApplicationsForOrg r.name = "ActionsListRunnerApplicationsForOrg" r.summary = "List runner applications for an organization" r.operationID = "actions/list-runner-applications-for-org" @@ -20026,9 +20005,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: ActionsCreateRegistrationTokenForOrg r.name = "ActionsCreateRegistrationTokenForOrg" r.summary = "Create a registration token for an organization" r.operationID = "actions/create-registration-token-for-org" @@ -20051,9 +20030,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: ActionsCreateRemoveTokenForOrg r.name = "ActionsCreateRemoveTokenForOrg" r.summary = "Create a remove token for an organization" r.operationID = "actions/create-remove-token-for-org" @@ -20077,9 +20056,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "DELETE": - // Leaf: ActionsDeleteSelfHostedRunnerFromOrg r.name = "ActionsDeleteSelfHostedRunnerFromOrg" r.summary = "Delete a self-hosted runner from an organization" r.operationID = "actions/delete-self-hosted-runner-from-org" @@ -20088,7 +20067,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 2 return r, true case "GET": - // Leaf: ActionsGetSelfHostedRunnerForOrg r.name = "ActionsGetSelfHostedRunnerForOrg" r.summary = "Get a self-hosted runner for an organization" r.operationID = "actions/get-self-hosted-runner-for-org" @@ -20152,9 +20130,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ActionsGetOrgPublicKey r.name = "ActionsGetOrgPublicKey" r.summary = "Get an organization public key" r.operationID = "actions/get-org-public-key" @@ -20254,9 +20232,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "DELETE": - // Leaf: ActionsRemoveSelectedRepoFromOrgSecret r.name = "ActionsRemoveSelectedRepoFromOrgSecret" r.summary = "Remove selected repository from an organization secret" r.operationID = "actions/remove-selected-repo-from-org-secret" @@ -20265,7 +20243,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 3 return r, true case "PUT": - // Leaf: ActionsAddSelectedRepoToOrgSecret r.name = "ActionsAddSelectedRepoToOrgSecret" r.summary = "Add selected repository to an organization secret" r.operationID = "actions/add-selected-repo-to-org-secret" @@ -20300,9 +20277,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: OrgsGetAuditLog r.name = "OrgsGetAuditLog" r.summary = "Get the audit log for an organization" r.operationID = "orgs/get-audit-log" @@ -20356,9 +20333,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "DELETE": - // Leaf: OrgsUnblockUser r.name = "OrgsUnblockUser" r.summary = "Unblock a user from an organization" r.operationID = "orgs/unblock-user" @@ -20367,7 +20344,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 2 return r, true case "GET": - // Leaf: OrgsCheckBlockedUser r.name = "OrgsCheckBlockedUser" r.summary = "Check if a user is blocked by an organization" r.operationID = "orgs/check-blocked-user" @@ -20376,7 +20352,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 2 return r, true case "PUT": - // Leaf: OrgsBlockUser r.name = "OrgsBlockUser" r.summary = "Block a user from an organization" r.operationID = "orgs/block-user" @@ -20430,9 +20405,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "DELETE": - // Leaf: OrgsRemoveSamlSSOAuthorization r.name = "OrgsRemoveSamlSSOAuthorization" r.summary = "Remove a SAML SSO authorization for an organization" r.operationID = "orgs/remove-saml-sso-authorization" @@ -20458,9 +20433,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ActivityListPublicOrgEvents r.name = "ActivityListPublicOrgEvents" r.summary = "List public organization events" r.operationID = "activity/list-public-org-events" @@ -20483,9 +20458,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: OrgsListFailedInvitations r.name = "OrgsListFailedInvitations" r.summary = "List failed organization invitations" r.operationID = "orgs/list-failed-invitations" @@ -20599,9 +20574,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: OrgsGetWebhookConfigForOrg r.name = "OrgsGetWebhookConfigForOrg" r.summary = "Get a webhook configuration for an organization" r.operationID = "orgs/get-webhook-config-for-org" @@ -20610,7 +20585,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 2 return r, true case "PATCH": - // Leaf: OrgsUpdateWebhookConfigForOrg r.name = "OrgsUpdateWebhookConfigForOrg" r.summary = "Update a webhook configuration for an organization" r.operationID = "orgs/update-webhook-config-for-org" @@ -20688,9 +20662,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: OrgsRedeliverWebhookDelivery r.name = "OrgsRedeliverWebhookDelivery" r.summary = "Redeliver a delivery for an organization webhook" r.operationID = "orgs/redeliver-webhook-delivery" @@ -20719,9 +20693,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: OrgsPingWebhook r.name = "OrgsPingWebhook" r.summary = "Ping an organization webhook" r.operationID = "orgs/ping-webhook" @@ -20777,9 +20751,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "DELETE": - // Leaf: InteractionsRemoveRestrictionsForOrg r.name = "InteractionsRemoveRestrictionsForOrg" r.summary = "Remove interaction restrictions for an organization" r.operationID = "interactions/remove-restrictions-for-org" @@ -20788,7 +20762,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 1 return r, true case "PUT": - // Leaf: InteractionsSetRestrictionsForOrg r.name = "InteractionsSetRestrictionsForOrg" r.summary = "Set interaction restrictions for an organization" r.operationID = "interactions/set-restrictions-for-org" @@ -20874,9 +20847,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: OrgsListInvitationTeams r.name = "OrgsListInvitationTeams" r.summary = "List organization invitation teams" r.operationID = "orgs/list-invitation-teams" @@ -20908,9 +20881,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: IssuesListForOrg r.name = "IssuesListForOrg" r.summary = "List organization issues assigned to the authenticated user" r.operationID = "issues/list-for-org" @@ -20976,9 +20949,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "DELETE": - // Leaf: OrgsRemoveMember r.name = "OrgsRemoveMember" r.summary = "Remove an organization member" r.operationID = "orgs/remove-member" @@ -20987,7 +20960,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 2 return r, true case "GET": - // Leaf: OrgsCheckMembershipForUser r.name = "OrgsCheckMembershipForUser" r.summary = "Check organization membership for a user" r.operationID = "orgs/check-membership-for-user" @@ -21015,9 +20987,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "DELETE": - // Leaf: OrgsRemoveMembershipForUser r.name = "OrgsRemoveMembershipForUser" r.summary = "Remove organization membership for a user" r.operationID = "orgs/remove-membership-for-user" @@ -21026,7 +20998,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 2 return r, true case "GET": - // Leaf: OrgsGetMembershipForUser r.name = "OrgsGetMembershipForUser" r.summary = "Get organization membership for a user" r.operationID = "orgs/get-membership-for-user" @@ -21035,7 +21006,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 2 return r, true case "PUT": - // Leaf: OrgsSetMembershipForUser r.name = "OrgsSetMembershipForUser" r.summary = "Set organization membership for a user" r.operationID = "orgs/set-membership-for-user" @@ -21136,9 +21106,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "DELETE": - // Leaf: MigrationsDeleteArchiveForOrg r.name = "MigrationsDeleteArchiveForOrg" r.summary = "Delete an organization migration archive" r.operationID = "migrations/delete-archive-for-org" @@ -21147,7 +21117,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 2 return r, true case "GET": - // Leaf: MigrationsDownloadArchiveForOrg r.name = "MigrationsDownloadArchiveForOrg" r.summary = "Download an organization migration archive" r.operationID = "migrations/download-archive-for-org" @@ -21203,9 +21172,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "DELETE": - // Leaf: MigrationsUnlockRepoForOrg r.name = "MigrationsUnlockRepoForOrg" r.summary = "Unlock an organization repository" r.operationID = "migrations/unlock-repo-for-org" @@ -21231,9 +21200,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: MigrationsListReposForOrg r.name = "MigrationsListReposForOrg" r.summary = "List repositories in an organization migration" r.operationID = "migrations/list-repos-for-org" @@ -21299,9 +21268,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "DELETE": - // Leaf: OrgsRemoveOutsideCollaborator r.name = "OrgsRemoveOutsideCollaborator" r.summary = "Remove outside collaborator from an organization" r.operationID = "orgs/remove-outside-collaborator" @@ -21310,7 +21279,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 2 return r, true case "PUT": - // Leaf: OrgsConvertMemberToOutsideCollaborator r.name = "OrgsConvertMemberToOutsideCollaborator" r.summary = "Convert an organization member to outside collaborator" r.operationID = "orgs/convert-member-to-outside-collaborator" @@ -21444,9 +21412,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: PackagesRestorePackageForOrg r.name = "PackagesRestorePackageForOrg" r.summary = "Restore a package for an organization" r.operationID = "packages/restore-package-for-org" @@ -21532,9 +21500,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: PackagesRestorePackageVersionForOrg r.name = "PackagesRestorePackageVersionForOrg" r.summary = "Restore package version for an organization" r.operationID = "packages/restore-package-version-for-org" @@ -21575,9 +21543,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ProjectsListForOrg r.name = "ProjectsListForOrg" r.summary = "List organization projects" r.operationID = "projects/list-for-org" @@ -21586,7 +21554,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 1 return r, true case "POST": - // Leaf: ProjectsCreateForOrg r.name = "ProjectsCreateForOrg" r.summary = "Create an organization project" r.operationID = "projects/create-for-org" @@ -21637,9 +21604,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "DELETE": - // Leaf: OrgsRemovePublicMembershipForAuthenticatedUser r.name = "OrgsRemovePublicMembershipForAuthenticatedUser" r.summary = "Remove public organization membership for the authenticated user" r.operationID = "orgs/remove-public-membership-for-authenticated-user" @@ -21648,7 +21615,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 2 return r, true case "GET": - // Leaf: OrgsCheckPublicMembershipForUser r.name = "OrgsCheckPublicMembershipForUser" r.summary = "Check public organization membership for a user" r.operationID = "orgs/check-public-membership-for-user" @@ -21657,7 +21623,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 2 return r, true case "PUT": - // Leaf: OrgsSetPublicMembershipForAuthenticatedUser r.name = "OrgsSetPublicMembershipForAuthenticatedUser" r.summary = "Set public organization membership for the authenticated user" r.operationID = "orgs/set-public-membership-for-authenticated-user" @@ -21686,9 +21651,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ReposListForOrg r.name = "ReposListForOrg" r.summary = "List organization repositories" r.operationID = "repos/list-for-org" @@ -21697,7 +21662,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 1 return r, true case "POST": - // Leaf: ReposCreateInOrg r.name = "ReposCreateInOrg" r.summary = "Create an organization repository" r.operationID = "repos/create-in-org" @@ -21732,9 +21696,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: SecretScanningListAlertsForOrg r.name = "SecretScanningListAlertsForOrg" r.summary = "List secret scanning alerts by organization" r.operationID = "secret-scanning/list-alerts-for-org" @@ -21769,9 +21733,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: BillingGetGithubActionsBillingOrg r.name = "BillingGetGithubActionsBillingOrg" r.summary = "Get GitHub Actions billing for an organization" r.operationID = "billing/get-github-actions-billing-org" @@ -21794,9 +21758,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: BillingGetGithubPackagesBillingOrg r.name = "BillingGetGithubPackagesBillingOrg" r.summary = "Get GitHub Packages billing for an organization" r.operationID = "billing/get-github-packages-billing-org" @@ -21819,9 +21783,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: BillingGetSharedStorageBillingOrg r.name = "BillingGetSharedStorageBillingOrg" r.summary = "Get shared storage billing for an organization" r.operationID = "billing/get-shared-storage-billing-org" @@ -21862,9 +21826,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: TeamsListIdpGroupsForOrg r.name = "TeamsListIdpGroupsForOrg" r.summary = "List IdP groups for an organization" r.operationID = "teams/list-idp-groups-for-org" @@ -22184,9 +22148,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "DELETE": - // Leaf: ReactionsDeleteForTeamDiscussionComment r.name = "ReactionsDeleteForTeamDiscussionComment" r.summary = "Delete team discussion comment reaction" r.operationID = "reactions/delete-for-team-discussion-comment" @@ -22254,9 +22218,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "DELETE": - // Leaf: ReactionsDeleteForTeamDiscussion r.name = "ReactionsDeleteForTeamDiscussion" r.summary = "Delete team discussion reaction" r.operationID = "reactions/delete-for-team-discussion" @@ -22291,9 +22255,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: TeamsListPendingInvitationsInOrg r.name = "TeamsListPendingInvitationsInOrg" r.summary = "List pending team invitations" r.operationID = "teams/list-pending-invitations-in-org" @@ -22344,9 +22308,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "DELETE": - // Leaf: TeamsRemoveMembershipForUserInOrg r.name = "TeamsRemoveMembershipForUserInOrg" r.summary = "Remove team membership for a user" r.operationID = "teams/remove-membership-for-user-in-org" @@ -22355,7 +22319,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 3 return r, true case "GET": - // Leaf: TeamsGetMembershipForUserInOrg r.name = "TeamsGetMembershipForUserInOrg" r.summary = "Get team membership for a user" r.operationID = "teams/get-membership-for-user-in-org" @@ -22364,7 +22327,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 3 return r, true case "PUT": - // Leaf: TeamsAddOrUpdateMembershipForUserInOrg r.name = "TeamsAddOrUpdateMembershipForUserInOrg" r.summary = "Add or update team membership for a user" r.operationID = "teams/add-or-update-membership-for-user-in-org" @@ -22418,9 +22380,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "DELETE": - // Leaf: TeamsRemoveProjectInOrg r.name = "TeamsRemoveProjectInOrg" r.summary = "Remove a project from a team" r.operationID = "teams/remove-project-in-org" @@ -22429,7 +22391,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 3 return r, true case "GET": - // Leaf: TeamsCheckPermissionsForProjectInOrg r.name = "TeamsCheckPermissionsForProjectInOrg" r.summary = "Check team permissions for a project" r.operationID = "teams/check-permissions-for-project-in-org" @@ -22438,7 +22399,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 3 return r, true case "PUT": - // Leaf: TeamsAddOrUpdateProjectPermissionsInOrg r.name = "TeamsAddOrUpdateProjectPermissionsInOrg" r.summary = "Add or update team project permissions" r.operationID = "teams/add-or-update-project-permissions-in-org" @@ -22513,9 +22473,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "DELETE": - // Leaf: TeamsRemoveRepoInOrg r.name = "TeamsRemoveRepoInOrg" r.summary = "Remove a repository from a team" r.operationID = "teams/remove-repo-in-org" @@ -22524,7 +22484,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 4 return r, true case "GET": - // Leaf: TeamsCheckPermissionsForRepoInOrg r.name = "TeamsCheckPermissionsForRepoInOrg" r.summary = "Check team permissions for a repository" r.operationID = "teams/check-permissions-for-repo-in-org" @@ -22533,7 +22492,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 4 return r, true case "PUT": - // Leaf: TeamsAddOrUpdateRepoPermissionsInOrg r.name = "TeamsAddOrUpdateRepoPermissionsInOrg" r.summary = "Add or update team repository permissions" r.operationID = "teams/add-or-update-repo-permissions-in-org" @@ -22574,9 +22532,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: TeamsListIdpGroupsInOrg r.name = "TeamsListIdpGroupsInOrg" r.summary = "List IdP groups for a team" r.operationID = "teams/list-idp-groups-in-org" @@ -22585,7 +22543,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 2 return r, true case "PATCH": - // Leaf: TeamsCreateOrUpdateIdpGroupConnectionsInOrg r.name = "TeamsCreateOrUpdateIdpGroupConnectionsInOrg" r.summary = "Create or update IdP group connections" r.operationID = "teams/create-or-update-idp-group-connections-in-org" @@ -22608,9 +22565,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: TeamsListChildInOrg r.name = "TeamsListChildInOrg" r.summary = "List child teams" r.operationID = "teams/list-child-in-org" @@ -22732,9 +22689,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: ProjectsMoveCard r.name = "ProjectsMoveCard" r.summary = "Move a project card" r.operationID = "projects/move-card" @@ -22813,9 +22770,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ProjectsListCards r.name = "ProjectsListCards" r.summary = "List project cards" r.operationID = "projects/list-cards" @@ -22838,9 +22795,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: ProjectsMoveColumn r.name = "ProjectsMoveColumn" r.summary = "Move a project column" r.operationID = "projects/move-column" @@ -22985,9 +22942,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ProjectsGetPermissionForUser r.name = "ProjectsGetPermissionForUser" r.summary = "Get project permission for a user" r.operationID = "projects/get-permission-for-user" @@ -23016,9 +22973,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ProjectsListColumns r.name = "ProjectsListColumns" r.summary = "List project columns" r.operationID = "projects/list-columns" @@ -23027,7 +22984,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 1 return r, true case "POST": - // Leaf: ProjectsCreateColumn r.name = "ProjectsCreateColumn" r.summary = "Create a project column" r.operationID = "projects/create-column" @@ -23068,9 +23024,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: RateLimitGet r.name = "RateLimitGet" r.summary = "Get rate limit status for the authenticated user" r.operationID = "rate-limit/get" @@ -23110,9 +23066,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "DELETE": - // Leaf: ReactionsDeleteLegacy r.name = "ReactionsDeleteLegacy" r.summary = "Delete a reaction (Legacy)" r.operationID = "reactions/delete-legacy" @@ -23320,9 +23276,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ActionsDownloadArtifact r.name = "ActionsDownloadArtifact" r.summary = "Download an artifact" r.operationID = "actions/download-artifact" @@ -23383,9 +23339,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ActionsDownloadJobLogsForWorkflowRun r.name = "ActionsDownloadJobLogsForWorkflowRun" r.summary = "Download job logs for a workflow run" r.operationID = "actions/download-job-logs-for-workflow-run" @@ -23442,9 +23398,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ActionsGetAllowedActionsRepository r.name = "ActionsGetAllowedActionsRepository" r.summary = "Get allowed actions for a repository" r.operationID = "actions/get-allowed-actions-repository" @@ -23453,7 +23409,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 2 return r, true case "PUT": - // Leaf: ActionsSetAllowedActionsRepository r.name = "ActionsSetAllowedActionsRepository" r.summary = "Set allowed actions for a repository" r.operationID = "actions/set-allowed-actions-repository" @@ -23526,9 +23481,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ActionsListRunnerApplicationsForRepo r.name = "ActionsListRunnerApplicationsForRepo" r.summary = "List runner applications for a repository" r.operationID = "actions/list-runner-applications-for-repo" @@ -23563,9 +23518,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: ActionsCreateRegistrationTokenForRepo r.name = "ActionsCreateRegistrationTokenForRepo" r.summary = "Create a registration token for a repository" r.operationID = "actions/create-registration-token-for-repo" @@ -23588,9 +23543,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: ActionsCreateRemoveTokenForRepo r.name = "ActionsCreateRemoveTokenForRepo" r.summary = "Create a remove token for a repository" r.operationID = "actions/create-remove-token-for-repo" @@ -23614,9 +23569,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "DELETE": - // Leaf: ActionsDeleteSelfHostedRunnerFromRepo r.name = "ActionsDeleteSelfHostedRunnerFromRepo" r.summary = "Delete a self-hosted runner from a repository" r.operationID = "actions/delete-self-hosted-runner-from-repo" @@ -23625,7 +23580,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 3 return r, true case "GET": - // Leaf: ActionsGetSelfHostedRunnerForRepo r.name = "ActionsGetSelfHostedRunnerForRepo" r.summary = "Get a self-hosted runner for a repository" r.operationID = "actions/get-self-hosted-runner-for-repo" @@ -23750,9 +23704,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ActionsGetReviewsForRun r.name = "ActionsGetReviewsForRun" r.summary = "Get the review history for a workflow run" r.operationID = "actions/get-reviews-for-run" @@ -23775,9 +23729,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: ActionsApproveWorkflowRun r.name = "ActionsApproveWorkflowRun" r.summary = "Approve a workflow run for a fork pull request" r.operationID = "actions/approve-workflow-run" @@ -23803,9 +23757,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ActionsListWorkflowRunArtifacts r.name = "ActionsListWorkflowRunArtifacts" r.summary = "List workflow run artifacts" r.operationID = "actions/list-workflow-run-artifacts" @@ -23831,9 +23785,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: ActionsCancelWorkflowRun r.name = "ActionsCancelWorkflowRun" r.summary = "Cancel a workflow run" r.operationID = "actions/cancel-workflow-run" @@ -23856,9 +23810,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ActionsListJobsForWorkflowRun r.name = "ActionsListJobsForWorkflowRun" r.summary = "List jobs for a workflow run" r.operationID = "actions/list-jobs-for-workflow-run" @@ -23881,9 +23835,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "DELETE": - // Leaf: ActionsDeleteWorkflowRunLogs r.name = "ActionsDeleteWorkflowRunLogs" r.summary = "Delete workflow run logs" r.operationID = "actions/delete-workflow-run-logs" @@ -23892,7 +23846,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 3 return r, true case "GET": - // Leaf: ActionsDownloadWorkflowRunLogs r.name = "ActionsDownloadWorkflowRunLogs" r.summary = "Download workflow run logs" r.operationID = "actions/download-workflow-run-logs" @@ -23915,9 +23868,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: ActionsReviewPendingDeploymentsForRun r.name = "ActionsReviewPendingDeploymentsForRun" r.summary = "Review pending deployments for a workflow run" r.operationID = "actions/review-pending-deployments-for-run" @@ -23952,9 +23905,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: ActionsReRunWorkflow r.name = "ActionsReRunWorkflow" r.summary = "Re-run a workflow" r.operationID = "actions/re-run-workflow" @@ -23977,9 +23930,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: ActionsRetryWorkflow r.name = "ActionsRetryWorkflow" r.summary = "Retry a workflow" r.operationID = "actions/retry-workflow" @@ -24005,9 +23958,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ActionsGetWorkflowRunUsage r.name = "ActionsGetWorkflowRunUsage" r.summary = "Get workflow run usage" r.operationID = "actions/get-workflow-run-usage" @@ -24077,9 +24030,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ActionsGetRepoPublicKey r.name = "ActionsGetRepoPublicKey" r.summary = "Get a repository public key" r.operationID = "actions/get-repo-public-key" @@ -24100,9 +24053,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "DELETE": - // Leaf: ActionsDeleteRepoSecret r.name = "ActionsDeleteRepoSecret" r.summary = "Delete a repository secret" r.operationID = "actions/delete-repo-secret" @@ -24111,7 +24064,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 3 return r, true case "GET": - // Leaf: ActionsGetRepoSecret r.name = "ActionsGetRepoSecret" r.summary = "Get a repository secret" r.operationID = "actions/get-repo-secret" @@ -24120,7 +24072,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 3 return r, true case "PUT": - // Leaf: ActionsCreateOrUpdateRepoSecret r.name = "ActionsCreateOrUpdateRepoSecret" r.summary = "Create or update a repository secret" r.operationID = "actions/create-or-update-repo-secret" @@ -24146,9 +24097,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ActionsListRepoWorkflows r.name = "ActionsListRepoWorkflows" r.summary = "List repository workflows" r.operationID = "actions/list-repo-workflows" @@ -24202,9 +24153,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: IssuesCheckUserCanBeAssigned r.name = "IssuesCheckUserCanBeAssigned" r.summary = "Check if a user can be assigned" r.operationID = "issues/check-user-can-be-assigned" @@ -24278,9 +24229,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "DELETE": - // Leaf: ReposDeleteAutolink r.name = "ReposDeleteAutolink" r.summary = "Delete an autolink reference from a repository" r.operationID = "repos/delete-autolink" @@ -24289,7 +24240,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 3 return r, true case "GET": - // Leaf: ReposGetAutolink r.name = "ReposGetAutolink" r.summary = "Get an autolink reference of a repository" r.operationID = "repos/get-autolink" @@ -24315,9 +24265,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "DELETE": - // Leaf: ReposDisableAutomatedSecurityFixes r.name = "ReposDisableAutomatedSecurityFixes" r.summary = "Disable automated security fixes" r.operationID = "repos/disable-automated-security-fixes" @@ -24326,7 +24276,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 2 return r, true case "PUT": - // Leaf: ReposEnableAutomatedSecurityFixes r.name = "ReposEnableAutomatedSecurityFixes" r.summary = "Enable automated security fixes" r.operationID = "repos/enable-automated-security-fixes" @@ -24473,9 +24422,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "DELETE": - // Leaf: ReposDeleteAdminBranchProtection r.name = "ReposDeleteAdminBranchProtection" r.summary = "Delete admin branch protection" r.operationID = "repos/delete-admin-branch-protection" @@ -24484,7 +24433,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 3 return r, true case "GET": - // Leaf: ReposGetAdminBranchProtection r.name = "ReposGetAdminBranchProtection" r.summary = "Get admin branch protection" r.operationID = "repos/get-admin-branch-protection" @@ -24493,7 +24441,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 3 return r, true case "POST": - // Leaf: ReposSetAdminBranchProtection r.name = "ReposSetAdminBranchProtection" r.summary = "Set admin branch protection" r.operationID = "repos/set-admin-branch-protection" @@ -24540,9 +24487,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "DELETE": - // Leaf: ReposDeletePullRequestReviewProtection r.name = "ReposDeletePullRequestReviewProtection" r.summary = "Delete pull request review protection" r.operationID = "repos/delete-pull-request-review-protection" @@ -24551,7 +24498,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 3 return r, true case "GET": - // Leaf: ReposGetPullRequestReviewProtection r.name = "ReposGetPullRequestReviewProtection" r.summary = "Get pull request review protection" r.operationID = "repos/get-pull-request-review-protection" @@ -24560,7 +24506,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 3 return r, true case "PATCH": - // Leaf: ReposUpdatePullRequestReviewProtection r.name = "ReposUpdatePullRequestReviewProtection" r.summary = "Update pull request review protection" r.operationID = "repos/update-pull-request-review-protection" @@ -24595,9 +24540,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "DELETE": - // Leaf: ReposDeleteCommitSignatureProtection r.name = "ReposDeleteCommitSignatureProtection" r.summary = "Delete commit signature protection" r.operationID = "repos/delete-commit-signature-protection" @@ -24606,7 +24551,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 3 return r, true case "GET": - // Leaf: ReposGetCommitSignatureProtection r.name = "ReposGetCommitSignatureProtection" r.summary = "Get commit signature protection" r.operationID = "repos/get-commit-signature-protection" @@ -24615,7 +24559,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 3 return r, true case "POST": - // Leaf: ReposCreateCommitSignatureProtection r.name = "ReposCreateCommitSignatureProtection" r.summary = "Create commit signature protection" r.operationID = "repos/create-commit-signature-protection" @@ -24677,9 +24620,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "DELETE": - // Leaf: ReposRemoveStatusCheckContexts r.name = "ReposRemoveStatusCheckContexts" r.summary = "Remove status check contexts" r.operationID = "repos/remove-status-check-contexts" @@ -24688,7 +24631,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 3 return r, true case "GET": - // Leaf: ReposGetAllStatusCheckContexts r.name = "ReposGetAllStatusCheckContexts" r.summary = "Get all status check contexts" r.operationID = "repos/get-all-status-check-contexts" @@ -24697,7 +24639,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 3 return r, true case "POST": - // Leaf: ReposAddStatusCheckContexts r.name = "ReposAddStatusCheckContexts" r.summary = "Add status check contexts" r.operationID = "repos/add-status-check-contexts" @@ -24706,7 +24647,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 3 return r, true case "PUT": - // Leaf: ReposSetStatusCheckContexts r.name = "ReposSetStatusCheckContexts" r.summary = "Set status check contexts" r.operationID = "repos/set-status-check-contexts" @@ -24781,9 +24721,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "DELETE": - // Leaf: ReposRemoveAppAccessRestrictions r.name = "ReposRemoveAppAccessRestrictions" r.summary = "Remove app access restrictions" r.operationID = "repos/remove-app-access-restrictions" @@ -24792,7 +24732,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 3 return r, true case "GET": - // Leaf: ReposGetAppsWithAccessToProtectedBranch r.name = "ReposGetAppsWithAccessToProtectedBranch" r.summary = "Get apps with access to the protected branch" r.operationID = "repos/get-apps-with-access-to-protected-branch" @@ -24801,7 +24740,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 3 return r, true case "POST": - // Leaf: ReposAddAppAccessRestrictions r.name = "ReposAddAppAccessRestrictions" r.summary = "Add app access restrictions" r.operationID = "repos/add-app-access-restrictions" @@ -24810,7 +24748,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 3 return r, true case "PUT": - // Leaf: ReposSetAppAccessRestrictions r.name = "ReposSetAppAccessRestrictions" r.summary = "Set app access restrictions" r.operationID = "repos/set-app-access-restrictions" @@ -24833,9 +24770,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "DELETE": - // Leaf: ReposRemoveTeamAccessRestrictions r.name = "ReposRemoveTeamAccessRestrictions" r.summary = "Remove team access restrictions" r.operationID = "repos/remove-team-access-restrictions" @@ -24844,7 +24781,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 3 return r, true case "GET": - // Leaf: ReposGetTeamsWithAccessToProtectedBranch r.name = "ReposGetTeamsWithAccessToProtectedBranch" r.summary = "Get teams with access to the protected branch" r.operationID = "repos/get-teams-with-access-to-protected-branch" @@ -24853,7 +24789,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 3 return r, true case "POST": - // Leaf: ReposAddTeamAccessRestrictions r.name = "ReposAddTeamAccessRestrictions" r.summary = "Add team access restrictions" r.operationID = "repos/add-team-access-restrictions" @@ -24862,7 +24797,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 3 return r, true case "PUT": - // Leaf: ReposSetTeamAccessRestrictions r.name = "ReposSetTeamAccessRestrictions" r.summary = "Set team access restrictions" r.operationID = "repos/set-team-access-restrictions" @@ -24885,9 +24819,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "DELETE": - // Leaf: ReposRemoveUserAccessRestrictions r.name = "ReposRemoveUserAccessRestrictions" r.summary = "Remove user access restrictions" r.operationID = "repos/remove-user-access-restrictions" @@ -24896,7 +24830,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 3 return r, true case "GET": - // Leaf: ReposGetUsersWithAccessToProtectedBranch r.name = "ReposGetUsersWithAccessToProtectedBranch" r.summary = "Get users with access to the protected branch" r.operationID = "repos/get-users-with-access-to-protected-branch" @@ -24905,7 +24838,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 3 return r, true case "POST": - // Leaf: ReposAddUserAccessRestrictions r.name = "ReposAddUserAccessRestrictions" r.summary = "Add user access restrictions" r.operationID = "repos/add-user-access-restrictions" @@ -24914,7 +24846,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 3 return r, true case "PUT": - // Leaf: ReposSetUserAccessRestrictions r.name = "ReposSetUserAccessRestrictions" r.summary = "Set user access restrictions" r.operationID = "repos/set-user-access-restrictions" @@ -24952,9 +24883,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: ReposRenameBranch r.name = "ReposRenameBranch" r.summary = "Rename a branch" r.operationID = "repos/rename-branch" @@ -25042,9 +24973,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ChecksListAnnotations r.name = "ChecksListAnnotations" r.summary = "List check run annotations" r.operationID = "checks/list-annotations" @@ -25105,9 +25036,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "PATCH": - // Leaf: ChecksSetSuitesPreferences r.name = "ChecksSetSuitesPreferences" r.summary = "Update repository preferences for check suites" r.operationID = "checks/set-suites-preferences" @@ -25167,9 +25098,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ChecksListForSuite r.name = "ChecksListForSuite" r.summary = "List check runs in a check suite" r.operationID = "checks/list-for-suite" @@ -25192,9 +25123,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: ChecksRerequestSuite r.name = "ChecksRerequestSuite" r.summary = "Rerequest a check suite" r.operationID = "checks/rerequest-suite" @@ -25328,9 +25259,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: CodeScanningListAlertInstances r.name = "CodeScanningListAlertInstances" r.summary = "List instances of a code scanning alert" r.operationID = "code-scanning/list-alert-instances" @@ -25387,9 +25318,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "DELETE": - // Leaf: CodeScanningDeleteAnalysis r.name = "CodeScanningDeleteAnalysis" r.summary = "Delete a code scanning analysis from a repository" r.operationID = "code-scanning/delete-analysis" @@ -25398,7 +25329,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 3 return r, true case "GET": - // Leaf: CodeScanningGetAnalysis r.name = "CodeScanningGetAnalysis" r.summary = "Get a code scanning analysis for a repository" r.operationID = "code-scanning/get-analysis" @@ -25455,9 +25385,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: CodeScanningGetSarif r.name = "CodeScanningGetSarif" r.summary = "Get information about a SARIF upload" r.operationID = "code-scanning/get-sarif" @@ -25557,9 +25487,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ReposGetCollaboratorPermissionLevel r.name = "ReposGetCollaboratorPermissionLevel" r.summary = "Get repository permissions for a user" r.operationID = "repos/get-collaborator-permission-level" @@ -25719,9 +25649,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "DELETE": - // Leaf: ReactionsDeleteForCommitComment r.name = "ReactionsDeleteForCommitComment" r.summary = "Delete a commit comment reaction" r.operationID = "reactions/delete-for-commit-comment" @@ -25820,9 +25750,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ReposListBranchesForHeadCommit r.name = "ReposListBranchesForHeadCommit" r.summary = "List branches for HEAD commit" r.operationID = "repos/list-branches-for-head-commit" @@ -25869,9 +25799,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ChecksListForRef r.name = "ChecksListForRef" r.summary = "List check runs for a Git reference" r.operationID = "checks/list-for-ref" @@ -25894,9 +25824,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ChecksListSuitesForRef r.name = "ChecksListSuitesForRef" r.summary = "List check suites for a Git reference" r.operationID = "checks/list-suites-for-ref" @@ -25922,9 +25852,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ReposListCommentsForCommit r.name = "ReposListCommentsForCommit" r.summary = "List commit comments" r.operationID = "repos/list-comments-for-commit" @@ -25933,7 +25863,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 3 return r, true case "POST": - // Leaf: ReposCreateCommitComment r.name = "ReposCreateCommitComment" r.summary = "Create a commit comment" r.operationID = "repos/create-commit-comment" @@ -25959,9 +25888,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ReposListPullRequestsAssociatedWithCommit r.name = "ReposListPullRequestsAssociatedWithCommit" r.summary = "List pull requests associated with a commit" r.operationID = "repos/list-pull-requests-associated-with-commit" @@ -26007,9 +25936,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ReposListCommitStatusesForRef r.name = "ReposListCommitStatusesForRef" r.summary = "List commit statuses for a reference" r.operationID = "repos/list-commit-statuses-for-ref" @@ -26044,9 +25973,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ReposGetCommunityProfileMetrics r.name = "ReposGetCommunityProfileMetrics" r.summary = "Get community profile metrics" r.operationID = "repos/get-community-profile-metrics" @@ -26077,9 +26006,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ReposCompareCommits r.name = "ReposCompareCommits" r.summary = "Compare two commits" r.operationID = "repos/compare-commits" @@ -26150,9 +26079,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: AppsCreateContentAttachment r.name = "AppsCreateContentAttachment" r.summary = "Create a content attachment" r.operationID = "apps/create-content-attachment" @@ -26183,9 +26112,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "DELETE": - // Leaf: ReposDeleteFile r.name = "ReposDeleteFile" r.summary = "Delete a file" r.operationID = "repos/delete-file" @@ -26194,7 +26123,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 3 return r, true case "PUT": - // Leaf: ReposCreateOrUpdateFileContents r.name = "ReposCreateOrUpdateFileContents" r.summary = "Create or update file contents" r.operationID = "repos/create-or-update-file-contents" @@ -26220,9 +26148,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ReposListContributors r.name = "ReposListContributors" r.summary = "List repository contributors" r.operationID = "repos/list-contributors" @@ -26373,9 +26301,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ReposGetDeploymentStatus r.name = "ReposGetDeploymentStatus" r.summary = "Get a deployment status" r.operationID = "repos/get-deployment-status" @@ -26407,9 +26335,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: ReposCreateDispatchEvent r.name = "ReposCreateDispatchEvent" r.summary = "Create a repository dispatch event" r.operationID = "repos/create-dispatch-event" @@ -26452,9 +26380,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "DELETE": - // Leaf: ReposDeleteAnEnvironment r.name = "ReposDeleteAnEnvironment" r.summary = "Delete an environment" r.operationID = "repos/delete-an-environment" @@ -26477,9 +26405,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ActivityListRepoEvents r.name = "ActivityListRepoEvents" r.summary = "List repository events" r.operationID = "activity/list-repo-events" @@ -26505,9 +26433,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ReposListForks r.name = "ReposListForks" r.summary = "List forks" r.operationID = "repos/list-forks" @@ -26516,7 +26444,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 2 return r, true case "POST": - // Leaf: ReposCreateFork r.name = "ReposCreateFork" r.summary = "Create a fork" r.operationID = "repos/create-fork" @@ -26551,9 +26478,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: ReposCreateUsingTemplate r.name = "ReposCreateUsingTemplate" r.summary = "Create a repository using a template" r.operationID = "repos/create-using-template" @@ -26616,9 +26543,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: GitGetBlob r.name = "GitGetBlob" r.summary = "Get a blob" r.operationID = "git/get-blob" @@ -26672,9 +26599,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: GitGetCommit r.name = "GitGetCommit" r.summary = "Get a commit" r.operationID = "git/get-commit" @@ -26705,9 +26632,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: GitListMatchingRefs r.name = "GitListMatchingRefs" r.summary = "List matching references" r.operationID = "git/list-matching-refs" @@ -26747,9 +26674,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: GitGetRef r.name = "GitGetRef" r.summary = "Get a reference" r.operationID = "git/get-ref" @@ -26800,9 +26727,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "DELETE": - // Leaf: GitDeleteRef r.name = "GitDeleteRef" r.summary = "Delete a reference" r.operationID = "git/delete-ref" @@ -26811,7 +26738,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 3 return r, true case "PATCH": - // Leaf: GitUpdateRef r.name = "GitUpdateRef" r.summary = "Update a reference" r.operationID = "git/update-ref" @@ -26880,9 +26806,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: GitGetTag r.name = "GitGetTag" r.summary = "Get a tag" r.operationID = "git/get-tag" @@ -26936,9 +26862,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: GitGetTree r.name = "GitGetTree" r.summary = "Get a tree" r.operationID = "git/get-tree" @@ -27064,9 +26990,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ReposGetWebhookConfigForRepo r.name = "ReposGetWebhookConfigForRepo" r.summary = "Get a webhook configuration for a repository" r.operationID = "repos/get-webhook-config-for-repo" @@ -27075,7 +27001,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 3 return r, true case "PATCH": - // Leaf: ReposUpdateWebhookConfigForRepo r.name = "ReposUpdateWebhookConfigForRepo" r.summary = "Update a webhook configuration for a repository" r.operationID = "repos/update-webhook-config-for-repo" @@ -27153,9 +27078,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: ReposRedeliverWebhookDelivery r.name = "ReposRedeliverWebhookDelivery" r.summary = "Redeliver a delivery for a repository webhook" r.operationID = "repos/redeliver-webhook-delivery" @@ -27184,9 +27109,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: ReposPingWebhook r.name = "ReposPingWebhook" r.summary = "Ping a repository webhook" r.operationID = "repos/ping-webhook" @@ -27209,9 +27134,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: ReposTestPushWebhook r.name = "ReposTestPushWebhook" r.summary = "Test the push repository webhook" r.operationID = "repos/test-push-webhook" @@ -27342,9 +27267,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "PATCH": - // Leaf: MigrationsMapCommitAuthor r.name = "MigrationsMapCommitAuthor" r.summary = "Map a commit author" r.operationID = "migrations/map-commit-author" @@ -27382,9 +27307,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: MigrationsGetLargeFiles r.name = "MigrationsGetLargeFiles" r.summary = "Get large files" r.operationID = "migrations/get-large-files" @@ -27407,9 +27332,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "PATCH": - // Leaf: MigrationsSetLfsPreference r.name = "MigrationsSetLfsPreference" r.summary = "Update Git LFS preference" r.operationID = "migrations/set-lfs-preference" @@ -27453,9 +27378,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "DELETE": - // Leaf: InteractionsRemoveRestrictionsForRepo r.name = "InteractionsRemoveRestrictionsForRepo" r.summary = "Remove interaction restrictions for a repository" r.operationID = "interactions/remove-restrictions-for-repo" @@ -27464,7 +27389,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 2 return r, true case "PUT": - // Leaf: InteractionsSetRestrictionsForRepo r.name = "InteractionsSetRestrictionsForRepo" r.summary = "Set interaction restrictions for a repository" r.operationID = "interactions/set-restrictions-for-repo" @@ -27515,9 +27439,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "DELETE": - // Leaf: ReposDeleteInvitation r.name = "ReposDeleteInvitation" r.summary = "Delete a repository invitation" r.operationID = "repos/delete-invitation" @@ -27526,7 +27450,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 3 return r, true case "PATCH": - // Leaf: ReposUpdateInvitation r.name = "ReposUpdateInvitation" r.summary = "Update a repository invitation" r.operationID = "repos/update-invitation" @@ -27705,9 +27628,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "DELETE": - // Leaf: ReactionsDeleteForIssueComment r.name = "ReactionsDeleteForIssueComment" r.summary = "Delete an issue comment reaction" r.operationID = "reactions/delete-for-issue-comment" @@ -27767,9 +27690,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: IssuesGetEvent r.name = "IssuesGetEvent" r.summary = "Get an issue event" r.operationID = "issues/get-event" @@ -27840,9 +27763,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "DELETE": - // Leaf: IssuesRemoveAssignees r.name = "IssuesRemoveAssignees" r.summary = "Remove assignees from an issue" r.operationID = "issues/remove-assignees" @@ -27851,7 +27774,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 3 return r, true case "POST": - // Leaf: IssuesAddAssignees r.name = "IssuesAddAssignees" r.summary = "Add assignees to an issue" r.operationID = "issues/add-assignees" @@ -27874,9 +27796,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: IssuesListComments r.name = "IssuesListComments" r.summary = "List issue comments" r.operationID = "issues/list-comments" @@ -27885,7 +27807,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 3 return r, true case "POST": - // Leaf: IssuesCreateComment r.name = "IssuesCreateComment" r.summary = "Create an issue comment" r.operationID = "issues/create-comment" @@ -27956,9 +27877,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "DELETE": - // Leaf: IssuesRemoveLabel r.name = "IssuesRemoveLabel" r.summary = "Remove a label from an issue" r.operationID = "issues/remove-label" @@ -27984,9 +27905,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "DELETE": - // Leaf: IssuesUnlock r.name = "IssuesUnlock" r.summary = "Unlock an issue" r.operationID = "issues/unlock" @@ -27995,7 +27916,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 3 return r, true case "PUT": - // Leaf: IssuesLock r.name = "IssuesLock" r.summary = "Lock an issue" r.operationID = "issues/lock" @@ -28057,9 +27977,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "DELETE": - // Leaf: ReactionsDeleteForIssue r.name = "ReactionsDeleteForIssue" r.summary = "Delete an issue reaction" r.operationID = "reactions/delete-for-issue" @@ -28133,9 +28053,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "DELETE": - // Leaf: ReposDeleteDeployKey r.name = "ReposDeleteDeployKey" r.summary = "Delete a deploy key" r.operationID = "repos/delete-deploy-key" @@ -28144,7 +28064,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 3 return r, true case "GET": - // Leaf: ReposGetDeployKey r.name = "ReposGetDeployKey" r.summary = "Get a deploy key" r.operationID = "repos/get-deploy-key" @@ -28230,9 +28149,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "DELETE": - // Leaf: IssuesDeleteLabel r.name = "IssuesDeleteLabel" r.summary = "Delete a label" r.operationID = "issues/delete-label" @@ -28241,7 +28160,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 3 return r, true case "GET": - // Leaf: IssuesGetLabel r.name = "IssuesGetLabel" r.summary = "Get a label" r.operationID = "issues/get-label" @@ -28250,7 +28168,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 3 return r, true case "PATCH": - // Leaf: IssuesUpdateLabel r.name = "IssuesUpdateLabel" r.summary = "Update a label" r.operationID = "issues/update-label" @@ -28276,9 +28193,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ReposListLanguages r.name = "ReposListLanguages" r.summary = "List repository languages" r.operationID = "repos/list-languages" @@ -28304,9 +28221,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "DELETE": - // Leaf: ReposDisableLfsForRepo r.name = "ReposDisableLfsForRepo" r.summary = "Disable Git LFS for a repository" r.operationID = "repos/disable-lfs-for-repo" @@ -28315,7 +28232,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 2 return r, true case "PUT": - // Leaf: ReposEnableLfsForRepo r.name = "ReposEnableLfsForRepo" r.summary = "Enable Git LFS for a repository" r.operationID = "repos/enable-lfs-for-repo" @@ -28338,9 +28254,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: LicensesGetForRepo r.name = "LicensesGetForRepo" r.summary = "Get the license for a repository" r.operationID = "licenses/get-for-repo" @@ -28390,9 +28306,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: ReposMergeUpstream r.name = "ReposMergeUpstream" r.summary = "Sync a fork branch with the upstream repository" r.operationID = "repos/merge-upstream" @@ -28415,9 +28331,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: ReposMerge r.name = "ReposMerge" r.summary = "Merge a branch" r.operationID = "repos/merge" @@ -28522,9 +28438,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: IssuesListLabelsForMilestone r.name = "IssuesListLabelsForMilestone" r.summary = "List labels for issues in a milestone" r.operationID = "issues/list-labels-for-milestone" @@ -28556,9 +28472,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ActivityListRepoNotificationsForAuthenticatedUser r.name = "ActivityListRepoNotificationsForAuthenticatedUser" r.summary = "List repository notifications for the authenticated user" r.operationID = "activity/list-repo-notifications-for-authenticated-user" @@ -28567,7 +28483,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 2 return r, true case "PUT": - // Leaf: ActivityMarkRepoNotificationsAsRead r.name = "ActivityMarkRepoNotificationsAsRead" r.summary = "Mark repository notifications as read" r.operationID = "activity/mark-repo-notifications-as-read" @@ -28696,9 +28611,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ReposGetLatestPagesBuild r.name = "ReposGetLatestPagesBuild" r.summary = "Get latest Pages build" r.operationID = "repos/get-latest-pages-build" @@ -28719,9 +28634,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ReposGetPagesBuild r.name = "ReposGetPagesBuild" r.summary = "Get GitHub Pages build" r.operationID = "repos/get-pages-build" @@ -28747,9 +28662,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ReposGetPagesHealthCheck r.name = "ReposGetPagesHealthCheck" r.summary = "Get a DNS health check for GitHub Pages" r.operationID = "repos/get-pages-health-check" @@ -28778,9 +28693,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ProjectsListForRepo r.name = "ProjectsListForRepo" r.summary = "List repository projects" r.operationID = "projects/list-for-repo" @@ -28789,7 +28704,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 2 return r, true case "POST": - // Leaf: ProjectsCreateForRepo r.name = "ProjectsCreateForRepo" r.summary = "Create a repository project" r.operationID = "projects/create-for-repo" @@ -28962,9 +28876,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "DELETE": - // Leaf: ReactionsDeleteForPullRequestComment r.name = "ReactionsDeleteForPullRequestComment" r.summary = "Delete a pull request comment reaction" r.operationID = "reactions/delete-for-pull-request-comment" @@ -29105,9 +29019,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: PullsCreateReplyForReviewComment r.name = "PullsCreateReplyForReviewComment" r.summary = "Create a reply for a review comment" r.operationID = "pulls/create-reply-for-review-comment" @@ -29136,9 +29050,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: PullsListCommits r.name = "PullsListCommits" r.summary = "List commits on a pull request" r.operationID = "pulls/list-commits" @@ -29164,9 +29078,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: PullsListFiles r.name = "PullsListFiles" r.summary = "List pull requests files" r.operationID = "pulls/list-files" @@ -29189,9 +29103,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: PullsCheckIfMerged r.name = "PullsCheckIfMerged" r.summary = "Check if a pull request has been merged" r.operationID = "pulls/check-if-merged" @@ -29200,7 +29114,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 3 return r, true case "PUT": - // Leaf: PullsMerge r.name = "PullsMerge" r.summary = "Merge a pull request" r.operationID = "pulls/merge" @@ -29235,9 +29148,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "DELETE": - // Leaf: PullsRemoveRequestedReviewers r.name = "PullsRemoveRequestedReviewers" r.summary = "Remove requested reviewers from a pull request" r.operationID = "pulls/remove-requested-reviewers" @@ -29246,7 +29159,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 3 return r, true case "GET": - // Leaf: PullsListRequestedReviewers r.name = "PullsListRequestedReviewers" r.summary = "List requested reviewers for a pull request" r.operationID = "pulls/list-requested-reviewers" @@ -29360,9 +29272,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: PullsListCommentsForReview r.name = "PullsListCommentsForReview" r.summary = "List comments for a pull request review" r.operationID = "pulls/list-comments-for-review" @@ -29385,9 +29297,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "PUT": - // Leaf: PullsDismissReview r.name = "PullsDismissReview" r.summary = "Dismiss a review for a pull request" r.operationID = "pulls/dismiss-review" @@ -29410,9 +29322,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: PullsSubmitReview r.name = "PullsSubmitReview" r.summary = "Submit a review for a pull request" r.operationID = "pulls/submit-review" @@ -29447,9 +29359,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "PUT": - // Leaf: PullsUpdateBranch r.name = "PullsUpdateBranch" r.summary = "Update a pull request branch" r.operationID = "pulls/update-branch" @@ -29524,9 +29436,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ReposGetReadmeInDirectory r.name = "ReposGetReadmeInDirectory" r.summary = "Get a repository README for a directory" r.operationID = "repos/get-readme-in-directory" @@ -29600,9 +29512,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "DELETE": - // Leaf: ReposDeleteReleaseAsset r.name = "ReposDeleteReleaseAsset" r.summary = "Delete a release asset" r.operationID = "repos/delete-release-asset" @@ -29611,7 +29523,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 3 return r, true case "GET": - // Leaf: ReposGetReleaseAsset r.name = "ReposGetReleaseAsset" r.summary = "Get a release asset" r.operationID = "repos/get-release-asset" @@ -29620,7 +29531,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 3 return r, true case "PATCH": - // Leaf: ReposUpdateReleaseAsset r.name = "ReposUpdateReleaseAsset" r.summary = "Update a release asset" r.operationID = "repos/update-release-asset" @@ -29643,9 +29553,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ReposGetLatestRelease r.name = "ReposGetLatestRelease" r.summary = "Get the latest release" r.operationID = "repos/get-latest-release" @@ -29673,9 +29583,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ReposGetReleaseByTag r.name = "ReposGetReleaseByTag" r.summary = "Get a release by tag name" r.operationID = "repos/get-release-by-tag" @@ -29751,9 +29661,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ReposListReleaseAssets r.name = "ReposListReleaseAssets" r.summary = "List release assets" r.operationID = "repos/list-release-assets" @@ -29762,7 +29672,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 3 return r, true case "POST": - // Leaf: ReposUploadReleaseAsset r.name = "ReposUploadReleaseAsset" r.summary = "Upload a release asset" r.operationID = "repos/upload-release-asset" @@ -29785,9 +29694,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: ReactionsCreateForRelease r.name = "ReactionsCreateForRelease" r.summary = "Create reaction for a release" r.operationID = "reactions/create-for-release" @@ -29862,9 +29771,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: SecretScanningGetAlert r.name = "SecretScanningGetAlert" r.summary = "Get a secret scanning alert" r.operationID = "secret-scanning/get-alert" @@ -29873,7 +29782,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 3 return r, true case "PATCH": - // Leaf: SecretScanningUpdateAlert r.name = "SecretScanningUpdateAlert" r.summary = "Update a secret scanning alert" r.operationID = "secret-scanning/update-alert" @@ -29935,9 +29843,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ReposGetCodeFrequencyStats r.name = "ReposGetCodeFrequencyStats" r.summary = "Get the weekly commit activity" r.operationID = "repos/get-code-frequency-stats" @@ -29960,9 +29868,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ReposGetCommitActivityStats r.name = "ReposGetCommitActivityStats" r.summary = "Get the last year of commit activity" r.operationID = "repos/get-commit-activity-stats" @@ -29985,9 +29893,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ReposGetContributorsStats r.name = "ReposGetContributorsStats" r.summary = "Get all contributor commit activity" r.operationID = "repos/get-contributors-stats" @@ -30025,9 +29933,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ReposGetParticipationStats r.name = "ReposGetParticipationStats" r.summary = "Get the weekly commit count" r.operationID = "repos/get-participation-stats" @@ -30050,9 +29958,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ReposGetPunchCardStats r.name = "ReposGetPunchCardStats" r.summary = "Get the hourly commit count for each day" r.operationID = "repos/get-punch-card-stats" @@ -30086,9 +29994,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: ReposCreateCommitStatus r.name = "ReposCreateCommitStatus" r.summary = "Create a commit status" r.operationID = "repos/create-commit-status" @@ -30126,9 +30034,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ActivityListWatchersForRepo r.name = "ActivityListWatchersForRepo" r.summary = "List watchers" r.operationID = "activity/list-watchers-for-repo" @@ -30151,9 +30059,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "DELETE": - // Leaf: ActivityDeleteRepoSubscription r.name = "ActivityDeleteRepoSubscription" r.summary = "Delete a repository subscription" r.operationID = "activity/delete-repo-subscription" @@ -30162,7 +30070,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 2 return r, true case "GET": - // Leaf: ActivityGetRepoSubscription r.name = "ActivityGetRepoSubscription" r.summary = "Get a repository subscription" r.operationID = "activity/get-repo-subscription" @@ -30171,7 +30078,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 2 return r, true case "PUT": - // Leaf: ActivitySetRepoSubscription r.name = "ActivitySetRepoSubscription" r.summary = "Set a repository subscription" r.operationID = "activity/set-repo-subscription" @@ -30224,9 +30130,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ReposListTags r.name = "ReposListTags" r.summary = "List repository tags" r.operationID = "repos/list-tags" @@ -30254,9 +30160,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ReposDownloadTarballArchive r.name = "ReposDownloadTarballArchive" r.summary = "Download a repository archive (tar)" r.operationID = "repos/download-tarball-archive" @@ -30282,9 +30188,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ReposListTeams r.name = "ReposListTeams" r.summary = "List repository teams" r.operationID = "repos/list-teams" @@ -30307,9 +30213,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ReposGetAllTopics r.name = "ReposGetAllTopics" r.summary = "Get all repository topics" r.operationID = "repos/get-all-topics" @@ -30318,7 +30224,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 2 return r, true case "PUT": - // Leaf: ReposReplaceAllTopics r.name = "ReposReplaceAllTopics" r.summary = "Replace all repository topics" r.operationID = "repos/replace-all-topics" @@ -30365,9 +30270,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ReposGetClones r.name = "ReposGetClones" r.summary = "Get repository clones" r.operationID = "repos/get-clones" @@ -30402,9 +30307,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ReposGetTopPaths r.name = "ReposGetTopPaths" r.summary = "Get top referral paths" r.operationID = "repos/get-top-paths" @@ -30427,9 +30332,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ReposGetTopReferrers r.name = "ReposGetTopReferrers" r.summary = "Get top referral sources" r.operationID = "repos/get-top-referrers" @@ -30455,9 +30360,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ReposGetViews r.name = "ReposGetViews" r.summary = "Get page views" r.operationID = "repos/get-views" @@ -30483,9 +30388,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: ReposTransfer r.name = "ReposTransfer" r.summary = "Transfer a repository" r.operationID = "repos/transfer" @@ -30514,9 +30419,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "DELETE": - // Leaf: ReposDisableVulnerabilityAlerts r.name = "ReposDisableVulnerabilityAlerts" r.summary = "Disable vulnerability alerts" r.operationID = "repos/disable-vulnerability-alerts" @@ -30525,7 +30430,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 2 return r, true case "GET": - // Leaf: ReposCheckVulnerabilityAlerts r.name = "ReposCheckVulnerabilityAlerts" r.summary = "Check if vulnerability alerts are enabled for a repository" r.operationID = "repos/check-vulnerability-alerts" @@ -30534,7 +30438,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 2 return r, true case "PUT": - // Leaf: ReposEnableVulnerabilityAlerts r.name = "ReposEnableVulnerabilityAlerts" r.summary = "Enable vulnerability alerts" r.operationID = "repos/enable-vulnerability-alerts" @@ -30562,9 +30465,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ReposDownloadZipballArchive r.name = "ReposDownloadZipballArchive" r.summary = "Download a repository archive (zip)" r.operationID = "repos/download-zipball-archive" @@ -30696,9 +30599,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ActionsGetEnvironmentPublicKey r.name = "ActionsGetEnvironmentPublicKey" r.summary = "Get an environment public key" r.operationID = "actions/get-environment-public-key" @@ -30719,9 +30622,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "DELETE": - // Leaf: ActionsDeleteEnvironmentSecret r.name = "ActionsDeleteEnvironmentSecret" r.summary = "Delete an environment secret" r.operationID = "actions/delete-environment-secret" @@ -30730,7 +30633,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 3 return r, true case "GET": - // Leaf: ActionsGetEnvironmentSecret r.name = "ActionsGetEnvironmentSecret" r.summary = "Get an environment secret" r.operationID = "actions/get-environment-secret" @@ -30739,7 +30641,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 3 return r, true case "PUT": - // Leaf: ActionsCreateOrUpdateEnvironmentSecret r.name = "ActionsCreateOrUpdateEnvironmentSecret" r.summary = "Create or update an environment secret" r.operationID = "actions/create-or-update-environment-secret" @@ -30876,9 +30777,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "DELETE": - // Leaf: EnterpriseAdminDeleteScimGroupFromEnterprise r.name = "EnterpriseAdminDeleteScimGroupFromEnterprise" r.summary = "Delete a SCIM group from an enterprise" r.operationID = "enterprise-admin/delete-scim-group-from-enterprise" @@ -30887,7 +30788,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 2 return r, true case "GET": - // Leaf: EnterpriseAdminGetProvisioningInformationForEnterpriseGroup r.name = "EnterpriseAdminGetProvisioningInformationForEnterpriseGroup" r.summary = "Get SCIM provisioning information for an enterprise group" r.operationID = "enterprise-admin/get-provisioning-information-for-enterprise-group" @@ -30896,7 +30796,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 2 return r, true case "PATCH": - // Leaf: EnterpriseAdminUpdateAttributeForEnterpriseGroup r.name = "EnterpriseAdminUpdateAttributeForEnterpriseGroup" r.summary = "Update an attribute for a SCIM enterprise group" r.operationID = "enterprise-admin/update-attribute-for-enterprise-group" @@ -30905,7 +30804,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 2 return r, true case "PUT": - // Leaf: EnterpriseAdminSetInformationForProvisionedEnterpriseGroup r.name = "EnterpriseAdminSetInformationForProvisionedEnterpriseGroup" r.summary = "Set SCIM information for a provisioned enterprise group" r.operationID = "enterprise-admin/set-information-for-provisioned-enterprise-group" @@ -30967,9 +30865,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "DELETE": - // Leaf: EnterpriseAdminDeleteUserFromEnterprise r.name = "EnterpriseAdminDeleteUserFromEnterprise" r.summary = "Delete a SCIM user from an enterprise" r.operationID = "enterprise-admin/delete-user-from-enterprise" @@ -30978,7 +30876,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 2 return r, true case "GET": - // Leaf: EnterpriseAdminGetProvisioningInformationForEnterpriseUser r.name = "EnterpriseAdminGetProvisioningInformationForEnterpriseUser" r.summary = "Get SCIM provisioning information for an enterprise user" r.operationID = "enterprise-admin/get-provisioning-information-for-enterprise-user" @@ -30987,7 +30884,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 2 return r, true case "PATCH": - // Leaf: EnterpriseAdminUpdateAttributeForEnterpriseUser r.name = "EnterpriseAdminUpdateAttributeForEnterpriseUser" r.summary = "Update an attribute for a SCIM enterprise user" r.operationID = "enterprise-admin/update-attribute-for-enterprise-user" @@ -30996,7 +30892,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 2 return r, true case "PUT": - // Leaf: EnterpriseAdminSetInformationForProvisionedEnterpriseUser r.name = "EnterpriseAdminSetInformationForProvisionedEnterpriseUser" r.summary = "Set SCIM information for a provisioned enterprise user" r.operationID = "enterprise-admin/set-information-for-provisioned-enterprise-user" @@ -31054,9 +30949,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "DELETE": - // Leaf: ScimDeleteUserFromOrg r.name = "ScimDeleteUserFromOrg" r.summary = "Delete a SCIM user from an organization" r.operationID = "scim/delete-user-from-org" @@ -31109,9 +31004,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: SearchCode r.name = "SearchCode" r.summary = "Search code" r.operationID = "search/code" @@ -31134,9 +31029,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: SearchCommits r.name = "SearchCommits" r.summary = "Search commits" r.operationID = "search/commits" @@ -31162,9 +31057,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: SearchIssuesAndPullRequests r.name = "SearchIssuesAndPullRequests" r.summary = "Search issues and pull requests" r.operationID = "search/issues-and-pull-requests" @@ -31187,9 +31082,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: SearchLabels r.name = "SearchLabels" r.summary = "Search labels" r.operationID = "search/labels" @@ -31212,9 +31107,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: SearchRepos r.name = "SearchRepos" r.summary = "Search repositories" r.operationID = "search/repos" @@ -31237,9 +31132,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: SearchTopics r.name = "SearchTopics" r.summary = "Search topics" r.operationID = "search/topics" @@ -31262,9 +31157,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: SearchUsers r.name = "SearchUsers" r.summary = "Search users" r.operationID = "search/users" @@ -31523,9 +31418,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ReactionsListForTeamDiscussionCommentLegacy r.name = "ReactionsListForTeamDiscussionCommentLegacy" r.summary = "List reactions for a team discussion comment (Legacy)" r.operationID = "reactions/list-for-team-discussion-comment-legacy" @@ -31534,7 +31429,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 3 return r, true case "POST": - // Leaf: ReactionsCreateForTeamDiscussionCommentLegacy r.name = "ReactionsCreateForTeamDiscussionCommentLegacy" r.summary = "Create reaction for a team discussion comment (Legacy)" r.operationID = "reactions/create-for-team-discussion-comment-legacy" @@ -31563,9 +31457,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ReactionsListForTeamDiscussionLegacy r.name = "ReactionsListForTeamDiscussionLegacy" r.summary = "List reactions for a team discussion (Legacy)" r.operationID = "reactions/list-for-team-discussion-legacy" @@ -31574,7 +31468,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 2 return r, true case "POST": - // Leaf: ReactionsCreateForTeamDiscussionLegacy r.name = "ReactionsCreateForTeamDiscussionLegacy" r.summary = "Create reaction for a team discussion (Legacy)" r.operationID = "reactions/create-for-team-discussion-legacy" @@ -31606,9 +31499,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: TeamsListPendingInvitationsLegacy r.name = "TeamsListPendingInvitationsLegacy" r.summary = "List pending team invitations (Legacy)" r.operationID = "teams/list-pending-invitations-legacy" @@ -31659,9 +31552,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "DELETE": - // Leaf: TeamsRemoveMemberLegacy r.name = "TeamsRemoveMemberLegacy" r.summary = "Remove team member (Legacy)" r.operationID = "teams/remove-member-legacy" @@ -31670,7 +31563,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 2 return r, true case "GET": - // Leaf: TeamsGetMemberLegacy r.name = "TeamsGetMemberLegacy" r.summary = "Get team member (Legacy)" r.operationID = "teams/get-member-legacy" @@ -31679,7 +31571,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 2 return r, true case "PUT": - // Leaf: TeamsAddMemberLegacy r.name = "TeamsAddMemberLegacy" r.summary = "Add team member (Legacy)" r.operationID = "teams/add-member-legacy" @@ -31707,9 +31598,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "DELETE": - // Leaf: TeamsRemoveMembershipForUserLegacy r.name = "TeamsRemoveMembershipForUserLegacy" r.summary = "Remove team membership for a user (Legacy)" r.operationID = "teams/remove-membership-for-user-legacy" @@ -31718,7 +31609,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 2 return r, true case "GET": - // Leaf: TeamsGetMembershipForUserLegacy r.name = "TeamsGetMembershipForUserLegacy" r.summary = "Get team membership for a user (Legacy)" r.operationID = "teams/get-membership-for-user-legacy" @@ -31727,7 +31617,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 2 return r, true case "PUT": - // Leaf: TeamsAddOrUpdateMembershipForUserLegacy r.name = "TeamsAddOrUpdateMembershipForUserLegacy" r.summary = "Add or update team membership for a user (Legacy)" r.operationID = "teams/add-or-update-membership-for-user-legacy" @@ -31781,9 +31670,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "DELETE": - // Leaf: TeamsRemoveProjectLegacy r.name = "TeamsRemoveProjectLegacy" r.summary = "Remove a project from a team (Legacy)" r.operationID = "teams/remove-project-legacy" @@ -31792,7 +31681,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 2 return r, true case "GET": - // Leaf: TeamsCheckPermissionsForProjectLegacy r.name = "TeamsCheckPermissionsForProjectLegacy" r.summary = "Check team permissions for a project (Legacy)" r.operationID = "teams/check-permissions-for-project-legacy" @@ -31801,7 +31689,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 2 return r, true case "PUT": - // Leaf: TeamsAddOrUpdateProjectPermissionsLegacy r.name = "TeamsAddOrUpdateProjectPermissionsLegacy" r.summary = "Add or update team project permissions (Legacy)" r.operationID = "teams/add-or-update-project-permissions-legacy" @@ -31876,9 +31763,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "DELETE": - // Leaf: TeamsRemoveRepoLegacy r.name = "TeamsRemoveRepoLegacy" r.summary = "Remove a repository from a team (Legacy)" r.operationID = "teams/remove-repo-legacy" @@ -31887,7 +31774,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 3 return r, true case "GET": - // Leaf: TeamsCheckPermissionsForRepoLegacy r.name = "TeamsCheckPermissionsForRepoLegacy" r.summary = "Check team permissions for a repository (Legacy)" r.operationID = "teams/check-permissions-for-repo-legacy" @@ -31896,7 +31782,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 3 return r, true case "PUT": - // Leaf: TeamsAddOrUpdateRepoPermissionsLegacy r.name = "TeamsAddOrUpdateRepoPermissionsLegacy" r.summary = "Add or update team repository permissions (Legacy)" r.operationID = "teams/add-or-update-repo-permissions-legacy" @@ -31937,9 +31822,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: TeamsListIdpGroupsForLegacy r.name = "TeamsListIdpGroupsForLegacy" r.summary = "List IdP groups for a team (Legacy)" r.operationID = "teams/list-idp-groups-for-legacy" @@ -31948,7 +31833,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 1 return r, true case "PATCH": - // Leaf: TeamsCreateOrUpdateIdpGroupConnectionsLegacy r.name = "TeamsCreateOrUpdateIdpGroupConnectionsLegacy" r.summary = "Create or update IdP group connections (Legacy)" r.operationID = "teams/create-or-update-idp-group-connections-legacy" @@ -31971,9 +31855,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: TeamsListChildLegacy r.name = "TeamsListChildLegacy" r.summary = "List child teams (Legacy)" r.operationID = "teams/list-child-legacy" @@ -32076,9 +31960,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "DELETE": - // Leaf: UsersUnblock r.name = "UsersUnblock" r.summary = "Unblock a user" r.operationID = "users/unblock" @@ -32087,7 +31971,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 1 return r, true case "GET": - // Leaf: UsersCheckBlocked r.name = "UsersCheckBlocked" r.summary = "Check if a user is blocked by the authenticated user" r.operationID = "users/check-blocked" @@ -32096,7 +31979,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 1 return r, true case "PUT": - // Leaf: UsersBlock r.name = "UsersBlock" r.summary = "Block a user" r.operationID = "users/block" @@ -32134,9 +32016,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "PATCH": - // Leaf: UsersSetPrimaryEmailVisibilityForAuthenticated r.name = "UsersSetPrimaryEmailVisibilityForAuthenticated" r.summary = "Set primary email visibility for the authenticated user" r.operationID = "users/set-primary-email-visibility-for-authenticated" @@ -32159,9 +32041,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "DELETE": - // Leaf: UsersDeleteEmailForAuthenticated r.name = "UsersDeleteEmailForAuthenticated" r.summary = "Delete an email address for the authenticated user" r.operationID = "users/delete-email-for-authenticated" @@ -32170,7 +32052,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 0 return r, true case "GET": - // Leaf: UsersListEmailsForAuthenticated r.name = "UsersListEmailsForAuthenticated" r.summary = "List email addresses for the authenticated user" r.operationID = "users/list-emails-for-authenticated" @@ -32179,7 +32060,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 0 return r, true case "POST": - // Leaf: UsersAddEmailForAuthenticated r.name = "UsersAddEmailForAuthenticated" r.summary = "Add an email address for the authenticated user" r.operationID = "users/add-email-for-authenticated" @@ -32217,9 +32097,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: UsersListFollowersForAuthenticatedUser r.name = "UsersListFollowersForAuthenticatedUser" r.summary = "List followers of the authenticated user" r.operationID = "users/list-followers-for-authenticated-user" @@ -32270,9 +32150,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "DELETE": - // Leaf: UsersUnfollow r.name = "UsersUnfollow" r.summary = "Unfollow a user" r.operationID = "users/unfollow" @@ -32281,7 +32161,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 1 return r, true case "GET": - // Leaf: UsersCheckPersonIsFollowedByAuthenticated r.name = "UsersCheckPersonIsFollowedByAuthenticated" r.summary = "Check if a person is followed by the authenticated user" r.operationID = "users/check-person-is-followed-by-authenticated" @@ -32290,7 +32169,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 1 return r, true case "PUT": - // Leaf: UsersFollow r.name = "UsersFollow" r.summary = "Follow a user" r.operationID = "users/follow" @@ -32355,9 +32233,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "DELETE": - // Leaf: UsersDeleteGpgKeyForAuthenticated r.name = "UsersDeleteGpgKeyForAuthenticated" r.summary = "Delete a GPG key for the authenticated user" r.operationID = "users/delete-gpg-key-for-authenticated" @@ -32366,7 +32244,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 1 return r, true case "GET": - // Leaf: UsersGetGpgKeyForAuthenticated r.name = "UsersGetGpgKeyForAuthenticated" r.summary = "Get a GPG key for the authenticated user" r.operationID = "users/get-gpg-key-for-authenticated" @@ -32465,9 +32342,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "DELETE": - // Leaf: AppsRemoveRepoFromInstallation r.name = "AppsRemoveRepoFromInstallation" r.summary = "Remove a repository from an app installation" r.operationID = "apps/remove-repo-from-installation" @@ -32476,7 +32353,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 2 return r, true case "PUT": - // Leaf: AppsAddRepoToInstallation r.name = "AppsAddRepoToInstallation" r.summary = "Add a repository to an app installation" r.operationID = "apps/add-repo-to-installation" @@ -32505,9 +32381,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "DELETE": - // Leaf: InteractionsRemoveRestrictionsForAuthenticatedUser r.name = "InteractionsRemoveRestrictionsForAuthenticatedUser" r.summary = "Remove interaction restrictions from your public repositories" r.operationID = "interactions/remove-restrictions-for-authenticated-user" @@ -32516,7 +32392,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 0 return r, true case "PUT": - // Leaf: InteractionsSetRestrictionsForAuthenticatedUser r.name = "InteractionsSetRestrictionsForAuthenticatedUser" r.summary = "Set interaction restrictions for your public repositories" r.operationID = "interactions/set-restrictions-for-authenticated-user" @@ -32542,9 +32417,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: IssuesListForAuthenticatedUser r.name = "IssuesListForAuthenticatedUser" r.summary = "List user account issues assigned to the authenticated user" r.operationID = "issues/list-for-authenticated-user" @@ -32606,9 +32481,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "DELETE": - // Leaf: UsersDeletePublicSSHKeyForAuthenticated r.name = "UsersDeletePublicSSHKeyForAuthenticated" r.summary = "Delete a public SSH key for the authenticated user" r.operationID = "users/delete-public-ssh-key-for-authenticated" @@ -32617,7 +32492,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 1 return r, true case "GET": - // Leaf: UsersGetPublicSSHKeyForAuthenticated r.name = "UsersGetPublicSSHKeyForAuthenticated" r.summary = "Get a public SSH key for the authenticated user" r.operationID = "users/get-public-ssh-key-for-authenticated" @@ -32678,9 +32552,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: AppsListSubscriptionsForAuthenticatedUserStubbed r.name = "AppsListSubscriptionsForAuthenticatedUserStubbed" r.summary = "List subscriptions for the authenticated user (stubbed)" r.operationID = "apps/list-subscriptions-for-authenticated-user-stubbed" @@ -32734,9 +32608,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: OrgsGetMembershipForAuthenticatedUser r.name = "OrgsGetMembershipForAuthenticatedUser" r.summary = "Get an organization membership for the authenticated user" r.operationID = "orgs/get-membership-for-authenticated-user" @@ -32745,7 +32619,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 1 return r, true case "PATCH": - // Leaf: OrgsUpdateMembershipForAuthenticatedUser r.name = "OrgsUpdateMembershipForAuthenticatedUser" r.summary = "Update an organization membership for the authenticated user" r.operationID = "orgs/update-membership-for-authenticated-user" @@ -32846,9 +32719,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "DELETE": - // Leaf: MigrationsDeleteArchiveForAuthenticatedUser r.name = "MigrationsDeleteArchiveForAuthenticatedUser" r.summary = "Delete a user migration archive" r.operationID = "migrations/delete-archive-for-authenticated-user" @@ -32857,7 +32730,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 1 return r, true case "GET": - // Leaf: MigrationsGetArchiveForAuthenticatedUser r.name = "MigrationsGetArchiveForAuthenticatedUser" r.summary = "Download a user migration archive" r.operationID = "migrations/get-archive-for-authenticated-user" @@ -32913,9 +32785,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "DELETE": - // Leaf: MigrationsUnlockRepoForAuthenticatedUser r.name = "MigrationsUnlockRepoForAuthenticatedUser" r.summary = "Unlock a user repository" r.operationID = "migrations/unlock-repo-for-authenticated-user" @@ -32941,9 +32813,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: MigrationsListReposForUser r.name = "MigrationsListReposForUser" r.summary = "List repositories for a user migration" r.operationID = "migrations/list-repos-for-user" @@ -32981,9 +32853,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: OrgsListForAuthenticatedUser r.name = "OrgsListForAuthenticatedUser" r.summary = "List organizations for the authenticated user" r.operationID = "orgs/list-for-authenticated-user" @@ -33114,9 +32986,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: PackagesRestorePackageForAuthenticatedUser r.name = "PackagesRestorePackageForAuthenticatedUser" r.summary = "Restore a package for the authenticated user" r.operationID = "packages/restore-package-for-authenticated-user" @@ -33202,9 +33074,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: PackagesRestorePackageVersionForAuthenticatedUser r.name = "PackagesRestorePackageVersionForAuthenticatedUser" r.summary = "Restore a package version for the authenticated user" r.operationID = "packages/restore-package-version-for-authenticated-user" @@ -33245,9 +33117,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: ProjectsCreateForAuthenticatedUser r.name = "ProjectsCreateForAuthenticatedUser" r.summary = "Create a user project" r.operationID = "projects/create-for-authenticated-user" @@ -33270,9 +33142,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: UsersListPublicEmailsForAuthenticated r.name = "UsersListPublicEmailsForAuthenticated" r.summary = "List public email addresses for the authenticated user" r.operationID = "users/list-public-emails-for-authenticated" @@ -33357,9 +33229,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "DELETE": - // Leaf: ReposDeclineInvitation r.name = "ReposDeclineInvitation" r.summary = "Decline a repository invitation" r.operationID = "repos/decline-invitation" @@ -33368,7 +33240,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 1 return r, true case "PATCH": - // Leaf: ReposAcceptInvitation r.name = "ReposAcceptInvitation" r.summary = "Accept a repository invitation" r.operationID = "repos/accept-invitation" @@ -33458,9 +33329,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "DELETE": - // Leaf: ActivityUnstarRepoForAuthenticatedUser r.name = "ActivityUnstarRepoForAuthenticatedUser" r.summary = "Unstar a repository for the authenticated user" r.operationID = "activity/unstar-repo-for-authenticated-user" @@ -33469,7 +33340,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 2 return r, true case "GET": - // Leaf: ActivityCheckRepoIsStarredByAuthenticatedUser r.name = "ActivityCheckRepoIsStarredByAuthenticatedUser" r.summary = "Check if a repository is starred by the authenticated user" r.operationID = "activity/check-repo-is-starred-by-authenticated-user" @@ -33478,7 +33348,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 2 return r, true case "PUT": - // Leaf: ActivityStarRepoForAuthenticatedUser r.name = "ActivityStarRepoForAuthenticatedUser" r.summary = "Star a repository for the authenticated user" r.operationID = "activity/star-repo-for-authenticated-user" @@ -33507,9 +33376,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ActivityListWatchedReposForAuthenticatedUser r.name = "ActivityListWatchedReposForAuthenticatedUser" r.summary = "List repositories watched by the authenticated user" r.operationID = "activity/list-watched-repos-for-authenticated-user" @@ -33535,9 +33404,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: TeamsListForAuthenticatedUser r.name = "TeamsListForAuthenticatedUser" r.summary = "List teams for the authenticated user" r.operationID = "teams/list-for-authenticated-user" @@ -33670,9 +33539,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ActivityListOrgEventsForAuthenticatedUser r.name = "ActivityListOrgEventsForAuthenticatedUser" r.summary = "List organization events for the authenticated user" r.operationID = "activity/list-org-events-for-authenticated-user" @@ -33695,9 +33564,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ActivityListPublicEventsForUser r.name = "ActivityListPublicEventsForUser" r.summary = "List public events for a user" r.operationID = "activity/list-public-events-for-user" @@ -33738,9 +33607,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: UsersListFollowersForUser r.name = "UsersListFollowersForUser" r.summary = "List followers of a user" r.operationID = "users/list-followers-for-user" @@ -33791,9 +33660,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: UsersCheckFollowingForUser r.name = "UsersCheckFollowingForUser" r.summary = "Check if a user follows another user" r.operationID = "users/check-following-for-user" @@ -33834,9 +33703,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: GistsListForUser r.name = "GistsListForUser" r.summary = "List gists for a user" r.operationID = "gists/list-for-user" @@ -33859,9 +33728,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: UsersListGpgKeysForUser r.name = "UsersListGpgKeysForUser" r.summary = "List GPG keys for a user" r.operationID = "users/list-gpg-keys-for-user" @@ -33887,9 +33756,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: UsersGetContextForUser r.name = "UsersGetContextForUser" r.summary = "Get contextual information for a user" r.operationID = "users/get-context-for-user" @@ -33912,9 +33781,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: UsersListPublicKeysForUser r.name = "UsersListPublicKeysForUser" r.summary = "List public keys for a user" r.operationID = "users/list-public-keys-for-user" @@ -33937,9 +33806,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: OrgsListForUser r.name = "OrgsListForUser" r.summary = "List organizations for a user" r.operationID = "orgs/list-for-user" @@ -34070,9 +33939,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: PackagesRestorePackageForUser r.name = "PackagesRestorePackageForUser" r.summary = "Restore a package for a user" r.operationID = "packages/restore-package-for-user" @@ -34158,9 +34027,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: PackagesRestorePackageVersionForUser r.name = "PackagesRestorePackageVersionForUser" r.summary = "Restore package version for a user" r.operationID = "packages/restore-package-version-for-user" @@ -34201,9 +34070,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ProjectsListForUser r.name = "ProjectsListForUser" r.summary = "List user projects" r.operationID = "projects/list-for-user" @@ -34264,9 +34133,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ActivityListReceivedPublicEventsForUser r.name = "ActivityListReceivedPublicEventsForUser" r.summary = "List public events received by a user" r.operationID = "activity/list-received-public-events-for-user" @@ -34292,9 +34161,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ReposListForUser r.name = "ReposListForUser" r.summary = "List repositories for a user" r.operationID = "repos/list-for-user" @@ -34344,9 +34213,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: BillingGetGithubActionsBillingUser r.name = "BillingGetGithubActionsBillingUser" r.summary = "Get GitHub Actions billing for a user" r.operationID = "billing/get-github-actions-billing-user" @@ -34369,9 +34238,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: BillingGetGithubPackagesBillingUser r.name = "BillingGetGithubPackagesBillingUser" r.summary = "Get GitHub Packages billing for a user" r.operationID = "billing/get-github-packages-billing-user" @@ -34394,9 +34263,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: BillingGetSharedStorageBillingUser r.name = "BillingGetSharedStorageBillingUser" r.summary = "Get shared storage billing for a user" r.operationID = "billing/get-shared-storage-billing-user" @@ -34422,9 +34291,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ActivityListReposWatchedByUser r.name = "ActivityListReposWatchedByUser" r.summary = "List repositories watched by a user" r.operationID = "activity/list-repos-watched-by-user" @@ -34462,9 +34331,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: MetaGetZen r.name = "MetaGetZen" r.summary = "Get the Zen of GitHub" r.operationID = "meta/get-zen" diff --git a/examples/ex_gotd/oas_router_gen.go b/examples/ex_gotd/oas_router_gen.go index 3782648e2..d2c2b69af 100644 --- a/examples/ex_gotd/oas_router_gen.go +++ b/examples/ex_gotd/oas_router_gen.go @@ -2591,9 +2591,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: AddStickerToSet r.name = "AddStickerToSet" r.summary = "" r.operationID = "addStickerToSet" @@ -2628,9 +2628,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: AnswerCallbackQuery r.name = "AnswerCallbackQuery" r.summary = "" r.operationID = "answerCallbackQuery" @@ -2653,9 +2653,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: AnswerInlineQuery r.name = "AnswerInlineQuery" r.summary = "" r.operationID = "answerInlineQuery" @@ -2678,9 +2678,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: AnswerPreCheckoutQuery r.name = "AnswerPreCheckoutQuery" r.summary = "" r.operationID = "answerPreCheckoutQuery" @@ -2703,9 +2703,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: AnswerShippingQuery r.name = "AnswerShippingQuery" r.summary = "" r.operationID = "answerShippingQuery" @@ -2728,9 +2728,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: AnswerWebAppQuery r.name = "AnswerWebAppQuery" r.summary = "" r.operationID = "answerWebAppQuery" @@ -2756,9 +2756,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: ApproveChatJoinRequest r.name = "ApproveChatJoinRequest" r.summary = "" r.operationID = "approveChatJoinRequest" @@ -2796,9 +2796,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: BanChatMember r.name = "BanChatMember" r.summary = "" r.operationID = "banChatMember" @@ -2821,9 +2821,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: BanChatSenderChat r.name = "BanChatSenderChat" r.summary = "" r.operationID = "banChatSenderChat" @@ -2861,9 +2861,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: Close r.name = "Close" r.summary = "" r.operationID = "close" @@ -2886,9 +2886,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: CopyMessage r.name = "CopyMessage" r.summary = "" r.operationID = "copyMessage" @@ -2923,9 +2923,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: CreateChatInviteLink r.name = "CreateChatInviteLink" r.summary = "" r.operationID = "createChatInviteLink" @@ -2948,9 +2948,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: CreateNewStickerSet r.name = "CreateNewStickerSet" r.summary = "" r.operationID = "createNewStickerSet" @@ -2991,9 +2991,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: DeclineChatJoinRequest r.name = "DeclineChatJoinRequest" r.summary = "" r.operationID = "declineChatJoinRequest" @@ -3040,9 +3040,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: DeleteChatPhoto r.name = "DeleteChatPhoto" r.summary = "" r.operationID = "deleteChatPhoto" @@ -3065,9 +3065,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: DeleteChatStickerSet r.name = "DeleteChatStickerSet" r.summary = "" r.operationID = "deleteChatStickerSet" @@ -3105,9 +3105,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: DeleteMessage r.name = "DeleteMessage" r.summary = "" r.operationID = "deleteMessage" @@ -3130,9 +3130,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: DeleteMyCommands r.name = "DeleteMyCommands" r.summary = "" r.operationID = "deleteMyCommands" @@ -3158,9 +3158,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: DeleteStickerFromSet r.name = "DeleteStickerFromSet" r.summary = "" r.operationID = "deleteStickerFromSet" @@ -3183,9 +3183,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: DeleteWebhook r.name = "DeleteWebhook" r.summary = "" r.operationID = "deleteWebhook" @@ -3238,9 +3238,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: EditChatInviteLink r.name = "EditChatInviteLink" r.summary = "" r.operationID = "editChatInviteLink" @@ -3275,9 +3275,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: EditMessageCaption r.name = "EditMessageCaption" r.summary = "" r.operationID = "editMessageCaption" @@ -3300,9 +3300,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: EditMessageLiveLocation r.name = "EditMessageLiveLocation" r.summary = "" r.operationID = "editMessageLiveLocation" @@ -3325,9 +3325,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: EditMessageMedia r.name = "EditMessageMedia" r.summary = "" r.operationID = "editMessageMedia" @@ -3350,9 +3350,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: EditMessageReplyMarkup r.name = "EditMessageReplyMarkup" r.summary = "" r.operationID = "editMessageReplyMarkup" @@ -3375,9 +3375,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: EditMessageText r.name = "EditMessageText" r.summary = "" r.operationID = "editMessageText" @@ -3406,9 +3406,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: ExportChatInviteLink r.name = "ExportChatInviteLink" r.summary = "" r.operationID = "exportChatInviteLink" @@ -3434,9 +3434,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: ForwardMessage r.name = "ForwardMessage" r.summary = "" r.operationID = "forwardMessage" @@ -3494,9 +3494,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: GetChatAdministrators r.name = "GetChatAdministrators" r.summary = "" r.operationID = "getChatAdministrators" @@ -3554,9 +3554,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: GetChatMemberCount r.name = "GetChatMemberCount" r.summary = "" r.operationID = "getChatMemberCount" @@ -3582,9 +3582,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: GetChatMenuButton r.name = "GetChatMenuButton" r.summary = "" r.operationID = "getChatMenuButton" @@ -3613,9 +3613,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: GetFile r.name = "GetFile" r.summary = "" r.operationID = "getFile" @@ -3638,9 +3638,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: GetGameHighScores r.name = "GetGameHighScores" r.summary = "" r.operationID = "getGameHighScores" @@ -3675,9 +3675,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: GetMe r.name = "GetMe" r.summary = "" r.operationID = "getMe" @@ -3712,9 +3712,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: GetMyCommands r.name = "GetMyCommands" r.summary = "" r.operationID = "getMyCommands" @@ -3737,9 +3737,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: GetMyDefaultAdministratorRights r.name = "GetMyDefaultAdministratorRights" r.summary = "" r.operationID = "getMyDefaultAdministratorRights" @@ -3768,9 +3768,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: GetStickerSet r.name = "GetStickerSet" r.summary = "" r.operationID = "getStickerSet" @@ -3805,9 +3805,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: GetUpdates r.name = "GetUpdates" r.summary = "" r.operationID = "getUpdates" @@ -3830,9 +3830,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: GetUserProfilePhotos r.name = "GetUserProfilePhotos" r.summary = "" r.operationID = "getUserProfilePhotos" @@ -3858,9 +3858,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: GetWebhookInfo r.name = "GetWebhookInfo" r.summary = "" r.operationID = "getWebhookInfo" @@ -3898,9 +3898,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: LeaveChat r.name = "LeaveChat" r.summary = "" r.operationID = "leaveChat" @@ -3923,9 +3923,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: LogOut r.name = "LogOut" r.summary = "" r.operationID = "logOut" @@ -3963,9 +3963,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: PinChatMessage r.name = "PinChatMessage" r.summary = "" r.operationID = "pinChatMessage" @@ -3988,9 +3988,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: PromoteChatMember r.name = "PromoteChatMember" r.summary = "" r.operationID = "promoteChatMember" @@ -4028,9 +4028,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: RestrictChatMember r.name = "RestrictChatMember" r.summary = "" r.operationID = "restrictChatMember" @@ -4053,9 +4053,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: RevokeChatInviteLink r.name = "RevokeChatInviteLink" r.summary = "" r.operationID = "revokeChatInviteLink" @@ -4129,9 +4129,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: SendAnimation r.name = "SendAnimation" r.summary = "" r.operationID = "sendAnimation" @@ -4154,9 +4154,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: SendAudio r.name = "SendAudio" r.summary = "" r.operationID = "sendAudio" @@ -4194,9 +4194,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: SendChatAction r.name = "SendChatAction" r.summary = "" r.operationID = "sendChatAction" @@ -4219,9 +4219,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: SendContact r.name = "SendContact" r.summary = "" r.operationID = "sendContact" @@ -4259,9 +4259,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: SendDice r.name = "SendDice" r.summary = "" r.operationID = "sendDice" @@ -4284,9 +4284,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: SendDocument r.name = "SendDocument" r.summary = "" r.operationID = "sendDocument" @@ -4312,9 +4312,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: SendGame r.name = "SendGame" r.summary = "" r.operationID = "sendGame" @@ -4337,9 +4337,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: SendInvoice r.name = "SendInvoice" r.summary = "" r.operationID = "sendInvoice" @@ -4362,9 +4362,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: SendLocation r.name = "SendLocation" r.summary = "" r.operationID = "sendLocation" @@ -4399,9 +4399,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: SendMediaGroup r.name = "SendMediaGroup" r.summary = "" r.operationID = "sendMediaGroup" @@ -4424,9 +4424,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: SendMessage r.name = "SendMessage" r.summary = "" r.operationID = "sendMessage" @@ -4464,9 +4464,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: SendPhoto r.name = "SendPhoto" r.summary = "" r.operationID = "sendPhoto" @@ -4489,9 +4489,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: SendPoll r.name = "SendPoll" r.summary = "" r.operationID = "sendPoll" @@ -4517,9 +4517,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: SendSticker r.name = "SendSticker" r.summary = "" r.operationID = "sendSticker" @@ -4554,9 +4554,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: SendVenue r.name = "SendVenue" r.summary = "" r.operationID = "sendVenue" @@ -4602,9 +4602,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: SendVideoNote r.name = "SendVideoNote" r.summary = "" r.operationID = "sendVideoNote" @@ -4630,9 +4630,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: SendVoice r.name = "SendVoice" r.summary = "" r.operationID = "sendVoice" @@ -4685,9 +4685,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: SetChatAdministratorCustomTitle r.name = "SetChatAdministratorCustomTitle" r.summary = "" r.operationID = "setChatAdministratorCustomTitle" @@ -4710,9 +4710,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: SetChatDescription r.name = "SetChatDescription" r.summary = "" r.operationID = "setChatDescription" @@ -4735,9 +4735,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: SetChatMenuButton r.name = "SetChatMenuButton" r.summary = "" r.operationID = "setChatMenuButton" @@ -4772,9 +4772,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: SetChatPermissions r.name = "SetChatPermissions" r.summary = "" r.operationID = "setChatPermissions" @@ -4797,9 +4797,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: SetChatPhoto r.name = "SetChatPhoto" r.summary = "" r.operationID = "setChatPhoto" @@ -4825,9 +4825,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: SetChatStickerSet r.name = "SetChatStickerSet" r.summary = "" r.operationID = "setChatStickerSet" @@ -4850,9 +4850,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: SetChatTitle r.name = "SetChatTitle" r.summary = "" r.operationID = "setChatTitle" @@ -4878,9 +4878,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: SetGameScore r.name = "SetGameScore" r.summary = "" r.operationID = "setGameScore" @@ -4915,9 +4915,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: SetMyCommands r.name = "SetMyCommands" r.summary = "" r.operationID = "setMyCommands" @@ -4940,9 +4940,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: SetMyDefaultAdministratorRights r.name = "SetMyDefaultAdministratorRights" r.summary = "" r.operationID = "setMyDefaultAdministratorRights" @@ -4968,9 +4968,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: SetPassportDataErrors r.name = "SetPassportDataErrors" r.summary = "" r.operationID = "setPassportDataErrors" @@ -5005,9 +5005,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: SetStickerPositionInSet r.name = "SetStickerPositionInSet" r.summary = "" r.operationID = "setStickerPositionInSet" @@ -5030,9 +5030,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: SetStickerSetThumb r.name = "SetStickerSetThumb" r.summary = "" r.operationID = "setStickerSetThumb" @@ -5058,9 +5058,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: SetWebhook r.name = "SetWebhook" r.summary = "" r.operationID = "setWebhook" @@ -5101,9 +5101,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: StopMessageLiveLocation r.name = "StopMessageLiveLocation" r.summary = "" r.operationID = "stopMessageLiveLocation" @@ -5126,9 +5126,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: StopPoll r.name = "StopPoll" r.summary = "" r.operationID = "stopPoll" @@ -5193,9 +5193,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: UnbanChatMember r.name = "UnbanChatMember" r.summary = "" r.operationID = "unbanChatMember" @@ -5218,9 +5218,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: UnbanChatSenderChat r.name = "UnbanChatSenderChat" r.summary = "" r.operationID = "unbanChatSenderChat" @@ -5258,9 +5258,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: UnpinAllChatMessages r.name = "UnpinAllChatMessages" r.summary = "" r.operationID = "unpinAllChatMessages" @@ -5283,9 +5283,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: UnpinChatMessage r.name = "UnpinChatMessage" r.summary = "" r.operationID = "unpinChatMessage" @@ -5314,9 +5314,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: UploadStickerFile r.name = "UploadStickerFile" r.summary = "" r.operationID = "uploadStickerFile" diff --git a/examples/ex_k8s/oas_router_gen.go b/examples/ex_k8s/oas_router_gen.go index 732a3f462..a76a891cf 100644 --- a/examples/ex_k8s/oas_router_gen.go +++ b/examples/ex_k8s/oas_router_gen.go @@ -13202,9 +13202,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: GetServiceAccountIssuerOpenIDConfiguration r.name = "GetServiceAccountIssuerOpenIDConfiguration" r.summary = "" r.operationID = "getServiceAccountIssuerOpenIDConfiguration" @@ -13325,9 +13325,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ReadCoreV1ComponentStatus r.name = "ReadCoreV1ComponentStatus" r.summary = "" r.operationID = "readCoreV1ComponentStatus" @@ -13353,9 +13353,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ListCoreV1ConfigMapForAllNamespaces r.name = "ListCoreV1ConfigMapForAllNamespaces" r.summary = "" r.operationID = "listCoreV1ConfigMapForAllNamespaces" @@ -13393,9 +13393,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ListCoreV1EndpointsForAllNamespaces r.name = "ListCoreV1EndpointsForAllNamespaces" r.summary = "" r.operationID = "listCoreV1EndpointsForAllNamespaces" @@ -13418,9 +13418,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ListCoreV1EventForAllNamespaces r.name = "ListCoreV1EventForAllNamespaces" r.summary = "" r.operationID = "listCoreV1EventForAllNamespaces" @@ -13446,9 +13446,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ListCoreV1LimitRangeForAllNamespaces r.name = "ListCoreV1LimitRangeForAllNamespaces" r.summary = "" r.operationID = "listCoreV1LimitRangeForAllNamespaces" @@ -13578,9 +13578,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ReadCoreV1NamespacedConfigMap r.name = "ReadCoreV1NamespacedConfigMap" r.summary = "" r.operationID = "readCoreV1NamespacedConfigMap" @@ -13646,9 +13646,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ReadCoreV1NamespacedEndpoints r.name = "ReadCoreV1NamespacedEndpoints" r.summary = "" r.operationID = "readCoreV1NamespacedEndpoints" @@ -13702,9 +13702,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ReadCoreV1NamespacedEvent r.name = "ReadCoreV1NamespacedEvent" r.summary = "" r.operationID = "readCoreV1NamespacedEvent" @@ -13761,9 +13761,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ReadCoreV1NamespacedLimitRange r.name = "ReadCoreV1NamespacedLimitRange" r.summary = "" r.operationID = "readCoreV1NamespacedLimitRange" @@ -13856,9 +13856,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ReadCoreV1NamespacedPersistentVolumeClaimStatus r.name = "ReadCoreV1NamespacedPersistentVolumeClaimStatus" r.summary = "" r.operationID = "readCoreV1NamespacedPersistentVolumeClaimStatus" @@ -13966,9 +13966,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ConnectCoreV1GetNamespacedPodAttach r.name = "ConnectCoreV1GetNamespacedPodAttach" r.summary = "" r.operationID = "connectCoreV1GetNamespacedPodAttach" @@ -13977,7 +13977,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 2 return r, true case "POST": - // Leaf: ConnectCoreV1PostNamespacedPodAttach r.name = "ConnectCoreV1PostNamespacedPodAttach" r.summary = "" r.operationID = "connectCoreV1PostNamespacedPodAttach" @@ -14012,9 +14011,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ReadCoreV1NamespacedPodEphemeralcontainers r.name = "ReadCoreV1NamespacedPodEphemeralcontainers" r.summary = "" r.operationID = "readCoreV1NamespacedPodEphemeralcontainers" @@ -14037,9 +14036,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ConnectCoreV1GetNamespacedPodExec r.name = "ConnectCoreV1GetNamespacedPodExec" r.summary = "" r.operationID = "connectCoreV1GetNamespacedPodExec" @@ -14048,7 +14047,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 2 return r, true case "POST": - // Leaf: ConnectCoreV1PostNamespacedPodExec r.name = "ConnectCoreV1PostNamespacedPodExec" r.summary = "" r.operationID = "connectCoreV1PostNamespacedPodExec" @@ -14074,9 +14072,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ReadCoreV1NamespacedPodLog r.name = "ReadCoreV1NamespacedPodLog" r.summary = "" r.operationID = "readCoreV1NamespacedPodLog" @@ -14111,9 +14109,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ConnectCoreV1GetNamespacedPodPortforward r.name = "ConnectCoreV1GetNamespacedPodPortforward" r.summary = "" r.operationID = "connectCoreV1GetNamespacedPodPortforward" @@ -14122,7 +14120,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 2 return r, true case "POST": - // Leaf: ConnectCoreV1PostNamespacedPodPortforward r.name = "ConnectCoreV1PostNamespacedPodPortforward" r.summary = "" r.operationID = "connectCoreV1PostNamespacedPodPortforward" @@ -14221,9 +14218,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "DELETE": - // Leaf: ConnectCoreV1DeleteNamespacedPodProxyWithPath r.name = "ConnectCoreV1DeleteNamespacedPodProxyWithPath" r.summary = "" r.operationID = "connectCoreV1DeleteNamespacedPodProxyWithPath" @@ -14232,7 +14229,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 3 return r, true case "GET": - // Leaf: ConnectCoreV1GetNamespacedPodProxyWithPath r.name = "ConnectCoreV1GetNamespacedPodProxyWithPath" r.summary = "" r.operationID = "connectCoreV1GetNamespacedPodProxyWithPath" @@ -14241,7 +14237,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 3 return r, true case "HEAD": - // Leaf: ConnectCoreV1HeadNamespacedPodProxyWithPath r.name = "ConnectCoreV1HeadNamespacedPodProxyWithPath" r.summary = "" r.operationID = "connectCoreV1HeadNamespacedPodProxyWithPath" @@ -14250,7 +14245,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 3 return r, true case "OPTIONS": - // Leaf: ConnectCoreV1OptionsNamespacedPodProxyWithPath r.name = "ConnectCoreV1OptionsNamespacedPodProxyWithPath" r.summary = "" r.operationID = "connectCoreV1OptionsNamespacedPodProxyWithPath" @@ -14259,7 +14253,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 3 return r, true case "PATCH": - // Leaf: ConnectCoreV1PatchNamespacedPodProxyWithPath r.name = "ConnectCoreV1PatchNamespacedPodProxyWithPath" r.summary = "" r.operationID = "connectCoreV1PatchNamespacedPodProxyWithPath" @@ -14268,7 +14261,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 3 return r, true case "POST": - // Leaf: ConnectCoreV1PostNamespacedPodProxyWithPath r.name = "ConnectCoreV1PostNamespacedPodProxyWithPath" r.summary = "" r.operationID = "connectCoreV1PostNamespacedPodProxyWithPath" @@ -14277,7 +14269,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 3 return r, true case "PUT": - // Leaf: ConnectCoreV1PutNamespacedPodProxyWithPath r.name = "ConnectCoreV1PutNamespacedPodProxyWithPath" r.summary = "" r.operationID = "connectCoreV1PutNamespacedPodProxyWithPath" @@ -14306,9 +14297,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ReadCoreV1NamespacedPodStatus r.name = "ReadCoreV1NamespacedPodStatus" r.summary = "" r.operationID = "readCoreV1NamespacedPodStatus" @@ -14368,9 +14359,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ReadCoreV1NamespacedPodTemplate r.name = "ReadCoreV1NamespacedPodTemplate" r.summary = "" r.operationID = "readCoreV1NamespacedPodTemplate" @@ -14481,9 +14472,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ReadCoreV1NamespacedReplicationControllerScale r.name = "ReadCoreV1NamespacedReplicationControllerScale" r.summary = "" r.operationID = "readCoreV1NamespacedReplicationControllerScale" @@ -14506,9 +14497,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ReadCoreV1NamespacedReplicationControllerStatus r.name = "ReadCoreV1NamespacedReplicationControllerStatus" r.summary = "" r.operationID = "readCoreV1NamespacedReplicationControllerStatus" @@ -14595,9 +14586,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ReadCoreV1NamespacedResourceQuotaStatus r.name = "ReadCoreV1NamespacedResourceQuotaStatus" r.summary = "" r.operationID = "readCoreV1NamespacedResourceQuotaStatus" @@ -14681,9 +14672,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ReadCoreV1NamespacedSecret r.name = "ReadCoreV1NamespacedSecret" r.summary = "" r.operationID = "readCoreV1NamespacedSecret" @@ -14749,9 +14740,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ReadCoreV1NamespacedServiceAccount r.name = "ReadCoreV1NamespacedServiceAccount" r.summary = "" r.operationID = "readCoreV1NamespacedServiceAccount" @@ -14920,9 +14911,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "DELETE": - // Leaf: ConnectCoreV1DeleteNamespacedServiceProxyWithPath r.name = "ConnectCoreV1DeleteNamespacedServiceProxyWithPath" r.summary = "" r.operationID = "connectCoreV1DeleteNamespacedServiceProxyWithPath" @@ -14931,7 +14922,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 3 return r, true case "GET": - // Leaf: ConnectCoreV1GetNamespacedServiceProxyWithPath r.name = "ConnectCoreV1GetNamespacedServiceProxyWithPath" r.summary = "" r.operationID = "connectCoreV1GetNamespacedServiceProxyWithPath" @@ -14940,7 +14930,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 3 return r, true case "HEAD": - // Leaf: ConnectCoreV1HeadNamespacedServiceProxyWithPath r.name = "ConnectCoreV1HeadNamespacedServiceProxyWithPath" r.summary = "" r.operationID = "connectCoreV1HeadNamespacedServiceProxyWithPath" @@ -14949,7 +14938,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 3 return r, true case "OPTIONS": - // Leaf: ConnectCoreV1OptionsNamespacedServiceProxyWithPath r.name = "ConnectCoreV1OptionsNamespacedServiceProxyWithPath" r.summary = "" r.operationID = "connectCoreV1OptionsNamespacedServiceProxyWithPath" @@ -14958,7 +14946,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 3 return r, true case "PATCH": - // Leaf: ConnectCoreV1PatchNamespacedServiceProxyWithPath r.name = "ConnectCoreV1PatchNamespacedServiceProxyWithPath" r.summary = "" r.operationID = "connectCoreV1PatchNamespacedServiceProxyWithPath" @@ -14967,7 +14954,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 3 return r, true case "POST": - // Leaf: ConnectCoreV1PostNamespacedServiceProxyWithPath r.name = "ConnectCoreV1PostNamespacedServiceProxyWithPath" r.summary = "" r.operationID = "connectCoreV1PostNamespacedServiceProxyWithPath" @@ -14976,7 +14962,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 3 return r, true case "PUT": - // Leaf: ConnectCoreV1PutNamespacedServiceProxyWithPath r.name = "ConnectCoreV1PutNamespacedServiceProxyWithPath" r.summary = "" r.operationID = "connectCoreV1PutNamespacedServiceProxyWithPath" @@ -15002,9 +14987,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ReadCoreV1NamespacedServiceStatus r.name = "ReadCoreV1NamespacedServiceStatus" r.summary = "" r.operationID = "readCoreV1NamespacedServiceStatus" @@ -15042,9 +15027,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ReadCoreV1NamespaceStatus r.name = "ReadCoreV1NamespaceStatus" r.summary = "" r.operationID = "readCoreV1NamespaceStatus" @@ -15222,9 +15207,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "DELETE": - // Leaf: ConnectCoreV1DeleteNodeProxyWithPath r.name = "ConnectCoreV1DeleteNodeProxyWithPath" r.summary = "" r.operationID = "connectCoreV1DeleteNodeProxyWithPath" @@ -15233,7 +15218,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 2 return r, true case "GET": - // Leaf: ConnectCoreV1GetNodeProxyWithPath r.name = "ConnectCoreV1GetNodeProxyWithPath" r.summary = "" r.operationID = "connectCoreV1GetNodeProxyWithPath" @@ -15242,7 +15226,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 2 return r, true case "HEAD": - // Leaf: ConnectCoreV1HeadNodeProxyWithPath r.name = "ConnectCoreV1HeadNodeProxyWithPath" r.summary = "" r.operationID = "connectCoreV1HeadNodeProxyWithPath" @@ -15251,7 +15234,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 2 return r, true case "OPTIONS": - // Leaf: ConnectCoreV1OptionsNodeProxyWithPath r.name = "ConnectCoreV1OptionsNodeProxyWithPath" r.summary = "" r.operationID = "connectCoreV1OptionsNodeProxyWithPath" @@ -15260,7 +15242,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 2 return r, true case "PATCH": - // Leaf: ConnectCoreV1PatchNodeProxyWithPath r.name = "ConnectCoreV1PatchNodeProxyWithPath" r.summary = "" r.operationID = "connectCoreV1PatchNodeProxyWithPath" @@ -15269,7 +15250,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 2 return r, true case "POST": - // Leaf: ConnectCoreV1PostNodeProxyWithPath r.name = "ConnectCoreV1PostNodeProxyWithPath" r.summary = "" r.operationID = "connectCoreV1PostNodeProxyWithPath" @@ -15278,7 +15258,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 2 return r, true case "PUT": - // Leaf: ConnectCoreV1PutNodeProxyWithPath r.name = "ConnectCoreV1PutNodeProxyWithPath" r.summary = "" r.operationID = "connectCoreV1PutNodeProxyWithPath" @@ -15304,9 +15283,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ReadCoreV1NodeStatus r.name = "ReadCoreV1NodeStatus" r.summary = "" r.operationID = "readCoreV1NodeStatus" @@ -15365,9 +15344,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ListCoreV1PersistentVolumeClaimForAllNamespaces r.name = "ListCoreV1PersistentVolumeClaimForAllNamespaces" r.summary = "" r.operationID = "listCoreV1PersistentVolumeClaimForAllNamespaces" @@ -15445,9 +15424,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ReadCoreV1PersistentVolumeStatus r.name = "ReadCoreV1PersistentVolumeStatus" r.summary = "" r.operationID = "readCoreV1PersistentVolumeStatus" @@ -15491,9 +15470,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ListCoreV1PodForAllNamespaces r.name = "ListCoreV1PodForAllNamespaces" r.summary = "" r.operationID = "listCoreV1PodForAllNamespaces" @@ -15516,9 +15495,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ListCoreV1PodTemplateForAllNamespaces r.name = "ListCoreV1PodTemplateForAllNamespaces" r.summary = "" r.operationID = "listCoreV1PodTemplateForAllNamespaces" @@ -15559,9 +15538,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ListCoreV1ReplicationControllerForAllNamespaces r.name = "ListCoreV1ReplicationControllerForAllNamespaces" r.summary = "" r.operationID = "listCoreV1ReplicationControllerForAllNamespaces" @@ -15584,9 +15563,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ListCoreV1ResourceQuotaForAllNamespaces r.name = "ListCoreV1ResourceQuotaForAllNamespaces" r.summary = "" r.operationID = "listCoreV1ResourceQuotaForAllNamespaces" @@ -15624,9 +15603,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ListCoreV1SecretForAllNamespaces r.name = "ListCoreV1SecretForAllNamespaces" r.summary = "" r.operationID = "listCoreV1SecretForAllNamespaces" @@ -15661,9 +15640,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ListCoreV1ServiceAccountForAllNamespaces r.name = "ListCoreV1ServiceAccountForAllNamespaces" r.summary = "" r.operationID = "listCoreV1ServiceAccountForAllNamespaces" @@ -15686,9 +15665,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ListCoreV1ServiceForAllNamespaces r.name = "ListCoreV1ServiceForAllNamespaces" r.summary = "" r.operationID = "listCoreV1ServiceForAllNamespaces" @@ -15729,9 +15708,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: WatchCoreV1ConfigMapListForAllNamespaces r.name = "WatchCoreV1ConfigMapListForAllNamespaces" r.summary = "" r.operationID = "watchCoreV1ConfigMapListForAllNamespaces" @@ -15766,9 +15745,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: WatchCoreV1EndpointsListForAllNamespaces r.name = "WatchCoreV1EndpointsListForAllNamespaces" r.summary = "" r.operationID = "watchCoreV1EndpointsListForAllNamespaces" @@ -15791,9 +15770,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: WatchCoreV1EventListForAllNamespaces r.name = "WatchCoreV1EventListForAllNamespaces" r.summary = "" r.operationID = "watchCoreV1EventListForAllNamespaces" @@ -15819,9 +15798,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: WatchCoreV1LimitRangeListForAllNamespaces r.name = "WatchCoreV1LimitRangeListForAllNamespaces" r.summary = "" r.operationID = "watchCoreV1LimitRangeListForAllNamespaces" @@ -15951,9 +15930,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: WatchCoreV1NamespacedConfigMap r.name = "WatchCoreV1NamespacedConfigMap" r.summary = "" r.operationID = "watchCoreV1NamespacedConfigMap" @@ -16019,9 +15998,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: WatchCoreV1NamespacedEndpoints r.name = "WatchCoreV1NamespacedEndpoints" r.summary = "" r.operationID = "watchCoreV1NamespacedEndpoints" @@ -16075,9 +16054,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: WatchCoreV1NamespacedEvent r.name = "WatchCoreV1NamespacedEvent" r.summary = "" r.operationID = "watchCoreV1NamespacedEvent" @@ -16134,9 +16113,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: WatchCoreV1NamespacedLimitRange r.name = "WatchCoreV1NamespacedLimitRange" r.summary = "" r.operationID = "watchCoreV1NamespacedLimitRange" @@ -16202,9 +16181,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: WatchCoreV1NamespacedPersistentVolumeClaim r.name = "WatchCoreV1NamespacedPersistentVolumeClaim" r.summary = "" r.operationID = "watchCoreV1NamespacedPersistentVolumeClaim" @@ -16270,9 +16249,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: WatchCoreV1NamespacedPod r.name = "WatchCoreV1NamespacedPod" r.summary = "" r.operationID = "watchCoreV1NamespacedPod" @@ -16326,9 +16305,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: WatchCoreV1NamespacedPodTemplate r.name = "WatchCoreV1NamespacedPodTemplate" r.summary = "" r.operationID = "watchCoreV1NamespacedPodTemplate" @@ -16400,9 +16379,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: WatchCoreV1NamespacedReplicationController r.name = "WatchCoreV1NamespacedReplicationController" r.summary = "" r.operationID = "watchCoreV1NamespacedReplicationController" @@ -16456,9 +16435,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: WatchCoreV1NamespacedResourceQuota r.name = "WatchCoreV1NamespacedResourceQuota" r.summary = "" r.operationID = "watchCoreV1NamespacedResourceQuota" @@ -16527,9 +16506,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: WatchCoreV1NamespacedSecret r.name = "WatchCoreV1NamespacedSecret" r.summary = "" r.operationID = "watchCoreV1NamespacedSecret" @@ -16595,9 +16574,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: WatchCoreV1NamespacedServiceAccount r.name = "WatchCoreV1NamespacedServiceAccount" r.summary = "" r.operationID = "watchCoreV1NamespacedServiceAccount" @@ -16651,9 +16630,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: WatchCoreV1NamespacedService r.name = "WatchCoreV1NamespacedService" r.summary = "" r.operationID = "watchCoreV1NamespacedService" @@ -16722,9 +16701,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: WatchCoreV1Node r.name = "WatchCoreV1Node" r.summary = "" r.operationID = "watchCoreV1Node" @@ -16777,9 +16756,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: WatchCoreV1PersistentVolumeClaimListForAllNamespaces r.name = "WatchCoreV1PersistentVolumeClaimListForAllNamespaces" r.summary = "" r.operationID = "watchCoreV1PersistentVolumeClaimListForAllNamespaces" @@ -16830,9 +16809,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: WatchCoreV1PersistentVolume r.name = "WatchCoreV1PersistentVolume" r.summary = "" r.operationID = "watchCoreV1PersistentVolume" @@ -16873,9 +16852,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: WatchCoreV1PodListForAllNamespaces r.name = "WatchCoreV1PodListForAllNamespaces" r.summary = "" r.operationID = "watchCoreV1PodListForAllNamespaces" @@ -16898,9 +16877,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: WatchCoreV1PodTemplateListForAllNamespaces r.name = "WatchCoreV1PodTemplateListForAllNamespaces" r.summary = "" r.operationID = "watchCoreV1PodTemplateListForAllNamespaces" @@ -16941,9 +16920,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: WatchCoreV1ReplicationControllerListForAllNamespaces r.name = "WatchCoreV1ReplicationControllerListForAllNamespaces" r.summary = "" r.operationID = "watchCoreV1ReplicationControllerListForAllNamespaces" @@ -16966,9 +16945,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: WatchCoreV1ResourceQuotaListForAllNamespaces r.name = "WatchCoreV1ResourceQuotaListForAllNamespaces" r.summary = "" r.operationID = "watchCoreV1ResourceQuotaListForAllNamespaces" @@ -17006,9 +16985,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: WatchCoreV1SecretListForAllNamespaces r.name = "WatchCoreV1SecretListForAllNamespaces" r.summary = "" r.operationID = "watchCoreV1SecretListForAllNamespaces" @@ -17043,9 +17022,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: WatchCoreV1ServiceAccountListForAllNamespaces r.name = "WatchCoreV1ServiceAccountListForAllNamespaces" r.summary = "" r.operationID = "watchCoreV1ServiceAccountListForAllNamespaces" @@ -17068,9 +17047,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: WatchCoreV1ServiceListForAllNamespaces r.name = "WatchCoreV1ServiceListForAllNamespaces" r.summary = "" r.operationID = "watchCoreV1ServiceListForAllNamespaces" @@ -17217,9 +17196,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ReadAdmissionregistrationV1MutatingWebhookConfiguration r.name = "ReadAdmissionregistrationV1MutatingWebhookConfiguration" r.summary = "" r.operationID = "readAdmissionregistrationV1MutatingWebhookConfiguration" @@ -17273,9 +17252,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ReadAdmissionregistrationV1ValidatingWebhookConfiguration r.name = "ReadAdmissionregistrationV1ValidatingWebhookConfiguration" r.summary = "" r.operationID = "readAdmissionregistrationV1ValidatingWebhookConfiguration" @@ -17341,9 +17320,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: WatchAdmissionregistrationV1MutatingWebhookConfiguration r.name = "WatchAdmissionregistrationV1MutatingWebhookConfiguration" r.summary = "" r.operationID = "watchAdmissionregistrationV1MutatingWebhookConfiguration" @@ -17397,9 +17376,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: WatchAdmissionregistrationV1ValidatingWebhookConfiguration r.name = "WatchAdmissionregistrationV1ValidatingWebhookConfiguration" r.summary = "" r.operationID = "watchAdmissionregistrationV1ValidatingWebhookConfiguration" @@ -17559,9 +17538,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ReadApiextensionsV1CustomResourceDefinitionStatus r.name = "ReadApiextensionsV1CustomResourceDefinitionStatus" r.summary = "" r.operationID = "readApiextensionsV1CustomResourceDefinitionStatus" @@ -17618,9 +17597,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: WatchApiextensionsV1CustomResourceDefinition r.name = "WatchApiextensionsV1CustomResourceDefinition" r.summary = "" r.operationID = "watchApiextensionsV1CustomResourceDefinition" @@ -17753,9 +17732,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ReadApiregistrationV1APIServiceStatus r.name = "ReadApiregistrationV1APIServiceStatus" r.summary = "" r.operationID = "readApiregistrationV1APIServiceStatus" @@ -17812,9 +17791,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: WatchApiregistrationV1APIService r.name = "WatchApiregistrationV1APIService" r.summary = "" r.operationID = "watchApiregistrationV1APIService" @@ -17895,9 +17874,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ListAppsV1ControllerRevisionForAllNamespaces r.name = "ListAppsV1ControllerRevisionForAllNamespaces" r.summary = "" r.operationID = "listAppsV1ControllerRevisionForAllNamespaces" @@ -17932,9 +17911,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ListAppsV1DaemonSetForAllNamespaces r.name = "ListAppsV1DaemonSetForAllNamespaces" r.summary = "" r.operationID = "listAppsV1DaemonSetForAllNamespaces" @@ -17957,9 +17936,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ListAppsV1DeploymentForAllNamespaces r.name = "ListAppsV1DeploymentForAllNamespaces" r.summary = "" r.operationID = "listAppsV1DeploymentForAllNamespaces" @@ -18046,9 +18025,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ReadAppsV1NamespacedControllerRevision r.name = "ReadAppsV1NamespacedControllerRevision" r.summary = "" r.operationID = "readAppsV1NamespacedControllerRevision" @@ -18141,9 +18120,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ReadAppsV1NamespacedDaemonSetStatus r.name = "ReadAppsV1NamespacedDaemonSetStatus" r.summary = "" r.operationID = "readAppsV1NamespacedDaemonSetStatus" @@ -18239,9 +18218,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ReadAppsV1NamespacedDeploymentScale r.name = "ReadAppsV1NamespacedDeploymentScale" r.summary = "" r.operationID = "readAppsV1NamespacedDeploymentScale" @@ -18264,9 +18243,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ReadAppsV1NamespacedDeploymentStatus r.name = "ReadAppsV1NamespacedDeploymentStatus" r.summary = "" r.operationID = "readAppsV1NamespacedDeploymentStatus" @@ -18368,9 +18347,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ReadAppsV1NamespacedReplicaSetScale r.name = "ReadAppsV1NamespacedReplicaSetScale" r.summary = "" r.operationID = "readAppsV1NamespacedReplicaSetScale" @@ -18393,9 +18372,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ReadAppsV1NamespacedReplicaSetStatus r.name = "ReadAppsV1NamespacedReplicaSetStatus" r.summary = "" r.operationID = "readAppsV1NamespacedReplicaSetStatus" @@ -18494,9 +18473,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ReadAppsV1NamespacedStatefulSetScale r.name = "ReadAppsV1NamespacedStatefulSetScale" r.summary = "" r.operationID = "readAppsV1NamespacedStatefulSetScale" @@ -18519,9 +18498,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ReadAppsV1NamespacedStatefulSetStatus r.name = "ReadAppsV1NamespacedStatefulSetStatus" r.summary = "" r.operationID = "readAppsV1NamespacedStatefulSetStatus" @@ -18559,9 +18538,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ListAppsV1ReplicaSetForAllNamespaces r.name = "ListAppsV1ReplicaSetForAllNamespaces" r.summary = "" r.operationID = "listAppsV1ReplicaSetForAllNamespaces" @@ -18584,9 +18563,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ListAppsV1StatefulSetForAllNamespaces r.name = "ListAppsV1StatefulSetForAllNamespaces" r.summary = "" r.operationID = "listAppsV1StatefulSetForAllNamespaces" @@ -18621,9 +18600,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: WatchAppsV1ControllerRevisionListForAllNamespaces r.name = "WatchAppsV1ControllerRevisionListForAllNamespaces" r.summary = "" r.operationID = "watchAppsV1ControllerRevisionListForAllNamespaces" @@ -18658,9 +18637,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: WatchAppsV1DaemonSetListForAllNamespaces r.name = "WatchAppsV1DaemonSetListForAllNamespaces" r.summary = "" r.operationID = "watchAppsV1DaemonSetListForAllNamespaces" @@ -18683,9 +18662,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: WatchAppsV1DeploymentListForAllNamespaces r.name = "WatchAppsV1DeploymentListForAllNamespaces" r.summary = "" r.operationID = "watchAppsV1DeploymentListForAllNamespaces" @@ -18772,9 +18751,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: WatchAppsV1NamespacedControllerRevision r.name = "WatchAppsV1NamespacedControllerRevision" r.summary = "" r.operationID = "watchAppsV1NamespacedControllerRevision" @@ -18840,9 +18819,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: WatchAppsV1NamespacedDaemonSet r.name = "WatchAppsV1NamespacedDaemonSet" r.summary = "" r.operationID = "watchAppsV1NamespacedDaemonSet" @@ -18896,9 +18875,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: WatchAppsV1NamespacedDeployment r.name = "WatchAppsV1NamespacedDeployment" r.summary = "" r.operationID = "watchAppsV1NamespacedDeployment" @@ -18955,9 +18934,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: WatchAppsV1NamespacedReplicaSet r.name = "WatchAppsV1NamespacedReplicaSet" r.summary = "" r.operationID = "watchAppsV1NamespacedReplicaSet" @@ -19011,9 +18990,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: WatchAppsV1NamespacedStatefulSet r.name = "WatchAppsV1NamespacedStatefulSet" r.summary = "" r.operationID = "watchAppsV1NamespacedStatefulSet" @@ -19045,9 +19024,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: WatchAppsV1ReplicaSetListForAllNamespaces r.name = "WatchAppsV1ReplicaSetListForAllNamespaces" r.summary = "" r.operationID = "watchAppsV1ReplicaSetListForAllNamespaces" @@ -19070,9 +19049,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: WatchAppsV1StatefulSetListForAllNamespaces r.name = "WatchAppsV1StatefulSetListForAllNamespaces" r.summary = "" r.operationID = "watchAppsV1StatefulSetListForAllNamespaces" @@ -19154,9 +19133,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: GetAuthenticationV1APIResources r.name = "GetAuthenticationV1APIResources" r.summary = "" r.operationID = "getAuthenticationV1APIResources" @@ -19205,9 +19184,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: GetAuthorizationV1APIResources r.name = "GetAuthorizationV1APIResources" r.summary = "" r.operationID = "getAuthorizationV1APIResources" @@ -19294,9 +19273,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ListAutoscalingV1HorizontalPodAutoscalerForAllNamespaces r.name = "ListAutoscalingV1HorizontalPodAutoscalerForAllNamespaces" r.summary = "" r.operationID = "listAutoscalingV1HorizontalPodAutoscalerForAllNamespaces" @@ -19395,9 +19374,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ReadAutoscalingV1NamespacedHorizontalPodAutoscalerStatus r.name = "ReadAutoscalingV1NamespacedHorizontalPodAutoscalerStatus" r.summary = "" r.operationID = "readAutoscalingV1NamespacedHorizontalPodAutoscalerStatus" @@ -19441,9 +19420,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: WatchAutoscalingV1HorizontalPodAutoscalerListForAllNamespaces r.name = "WatchAutoscalingV1HorizontalPodAutoscalerListForAllNamespaces" r.summary = "" r.operationID = "watchAutoscalingV1HorizontalPodAutoscalerListForAllNamespaces" @@ -19515,9 +19494,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: WatchAutoscalingV1NamespacedHorizontalPodAutoscaler r.name = "WatchAutoscalingV1NamespacedHorizontalPodAutoscaler" r.summary = "" r.operationID = "watchAutoscalingV1NamespacedHorizontalPodAutoscaler" @@ -19587,9 +19566,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ListAutoscalingV2beta1HorizontalPodAutoscalerForAllNamespaces r.name = "ListAutoscalingV2beta1HorizontalPodAutoscalerForAllNamespaces" r.summary = "" r.operationID = "listAutoscalingV2beta1HorizontalPodAutoscalerForAllNamespaces" @@ -19688,9 +19667,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ReadAutoscalingV2beta1NamespacedHorizontalPodAutoscalerStatus r.name = "ReadAutoscalingV2beta1NamespacedHorizontalPodAutoscalerStatus" r.summary = "" r.operationID = "readAutoscalingV2beta1NamespacedHorizontalPodAutoscalerStatus" @@ -19734,9 +19713,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: WatchAutoscalingV2beta1HorizontalPodAutoscalerListForAllNamespaces r.name = "WatchAutoscalingV2beta1HorizontalPodAutoscalerListForAllNamespaces" r.summary = "" r.operationID = "watchAutoscalingV2beta1HorizontalPodAutoscalerListForAllNamespaces" @@ -19808,9 +19787,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: WatchAutoscalingV2beta1NamespacedHorizontalPodAutoscaler r.name = "WatchAutoscalingV2beta1NamespacedHorizontalPodAutoscaler" r.summary = "" r.operationID = "watchAutoscalingV2beta1NamespacedHorizontalPodAutoscaler" @@ -19868,9 +19847,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ListAutoscalingV2beta2HorizontalPodAutoscalerForAllNamespaces r.name = "ListAutoscalingV2beta2HorizontalPodAutoscalerForAllNamespaces" r.summary = "" r.operationID = "listAutoscalingV2beta2HorizontalPodAutoscalerForAllNamespaces" @@ -19969,9 +19948,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ReadAutoscalingV2beta2NamespacedHorizontalPodAutoscalerStatus r.name = "ReadAutoscalingV2beta2NamespacedHorizontalPodAutoscalerStatus" r.summary = "" r.operationID = "readAutoscalingV2beta2NamespacedHorizontalPodAutoscalerStatus" @@ -20015,9 +19994,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: WatchAutoscalingV2beta2HorizontalPodAutoscalerListForAllNamespaces r.name = "WatchAutoscalingV2beta2HorizontalPodAutoscalerListForAllNamespaces" r.summary = "" r.operationID = "watchAutoscalingV2beta2HorizontalPodAutoscalerListForAllNamespaces" @@ -20089,9 +20068,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: WatchAutoscalingV2beta2NamespacedHorizontalPodAutoscaler r.name = "WatchAutoscalingV2beta2NamespacedHorizontalPodAutoscaler" r.summary = "" r.operationID = "watchAutoscalingV2beta2NamespacedHorizontalPodAutoscaler" @@ -20199,9 +20178,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ListBatchV1CronJobForAllNamespaces r.name = "ListBatchV1CronJobForAllNamespaces" r.summary = "" r.operationID = "listBatchV1CronJobForAllNamespaces" @@ -20224,9 +20203,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ListBatchV1JobForAllNamespaces r.name = "ListBatchV1JobForAllNamespaces" r.summary = "" r.operationID = "listBatchV1JobForAllNamespaces" @@ -20337,9 +20316,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ReadBatchV1NamespacedCronJobStatus r.name = "ReadBatchV1NamespacedCronJobStatus" r.summary = "" r.operationID = "readBatchV1NamespacedCronJobStatus" @@ -20423,9 +20402,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ReadBatchV1NamespacedJobStatus r.name = "ReadBatchV1NamespacedJobStatus" r.summary = "" r.operationID = "readBatchV1NamespacedJobStatus" @@ -20472,9 +20451,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: WatchBatchV1CronJobListForAllNamespaces r.name = "WatchBatchV1CronJobListForAllNamespaces" r.summary = "" r.operationID = "watchBatchV1CronJobListForAllNamespaces" @@ -20497,9 +20476,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: WatchBatchV1JobListForAllNamespaces r.name = "WatchBatchV1JobListForAllNamespaces" r.summary = "" r.operationID = "watchBatchV1JobListForAllNamespaces" @@ -20583,9 +20562,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: WatchBatchV1NamespacedCronJob r.name = "WatchBatchV1NamespacedCronJob" r.summary = "" r.operationID = "watchBatchV1NamespacedCronJob" @@ -20639,9 +20618,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: WatchBatchV1NamespacedJob r.name = "WatchBatchV1NamespacedJob" r.summary = "" r.operationID = "watchBatchV1NamespacedJob" @@ -20702,9 +20681,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ListBatchV1beta1CronJobForAllNamespaces r.name = "ListBatchV1beta1CronJobForAllNamespaces" r.summary = "" r.operationID = "listBatchV1beta1CronJobForAllNamespaces" @@ -20803,9 +20782,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ReadBatchV1beta1NamespacedCronJobStatus r.name = "ReadBatchV1beta1NamespacedCronJobStatus" r.summary = "" r.operationID = "readBatchV1beta1NamespacedCronJobStatus" @@ -20849,9 +20828,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: WatchBatchV1beta1CronJobListForAllNamespaces r.name = "WatchBatchV1beta1CronJobListForAllNamespaces" r.summary = "" r.operationID = "watchBatchV1beta1CronJobListForAllNamespaces" @@ -20923,9 +20902,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: WatchBatchV1beta1NamespacedCronJob r.name = "WatchBatchV1beta1NamespacedCronJob" r.summary = "" r.operationID = "watchBatchV1beta1NamespacedCronJob" @@ -21091,9 +21070,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ReadCertificatesV1CertificateSigningRequestApproval r.name = "ReadCertificatesV1CertificateSigningRequestApproval" r.summary = "" r.operationID = "readCertificatesV1CertificateSigningRequestApproval" @@ -21116,9 +21095,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ReadCertificatesV1CertificateSigningRequestStatus r.name = "ReadCertificatesV1CertificateSigningRequestStatus" r.summary = "" r.operationID = "readCertificatesV1CertificateSigningRequestStatus" @@ -21178,9 +21157,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: WatchCertificatesV1CertificateSigningRequest r.name = "WatchCertificatesV1CertificateSigningRequest" r.summary = "" r.operationID = "watchCertificatesV1CertificateSigningRequest" @@ -21258,9 +21237,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ListCoordinationV1LeaseForAllNamespaces r.name = "ListCoordinationV1LeaseForAllNamespaces" r.summary = "" r.operationID = "listCoordinationV1LeaseForAllNamespaces" @@ -21332,9 +21311,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ReadCoordinationV1NamespacedLease r.name = "ReadCoordinationV1NamespacedLease" r.summary = "" r.operationID = "readCoordinationV1NamespacedLease" @@ -21375,9 +21354,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: WatchCoordinationV1LeaseListForAllNamespaces r.name = "WatchCoordinationV1LeaseListForAllNamespaces" r.summary = "" r.operationID = "watchCoordinationV1LeaseListForAllNamespaces" @@ -21449,9 +21428,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: WatchCoordinationV1NamespacedLease r.name = "WatchCoordinationV1NamespacedLease" r.summary = "" r.operationID = "watchCoordinationV1NamespacedLease" @@ -21550,9 +21529,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ListDiscoveryV1EndpointSliceForAllNamespaces r.name = "ListDiscoveryV1EndpointSliceForAllNamespaces" r.summary = "" r.operationID = "listDiscoveryV1EndpointSliceForAllNamespaces" @@ -21624,9 +21603,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ReadDiscoveryV1NamespacedEndpointSlice r.name = "ReadDiscoveryV1NamespacedEndpointSlice" r.summary = "" r.operationID = "readDiscoveryV1NamespacedEndpointSlice" @@ -21667,9 +21646,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: WatchDiscoveryV1EndpointSliceListForAllNamespaces r.name = "WatchDiscoveryV1EndpointSliceListForAllNamespaces" r.summary = "" r.operationID = "watchDiscoveryV1EndpointSliceListForAllNamespaces" @@ -21741,9 +21720,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: WatchDiscoveryV1NamespacedEndpointSlice r.name = "WatchDiscoveryV1NamespacedEndpointSlice" r.summary = "" r.operationID = "watchDiscoveryV1NamespacedEndpointSlice" @@ -21801,9 +21780,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ListDiscoveryV1beta1EndpointSliceForAllNamespaces r.name = "ListDiscoveryV1beta1EndpointSliceForAllNamespaces" r.summary = "" r.operationID = "listDiscoveryV1beta1EndpointSliceForAllNamespaces" @@ -21875,9 +21854,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ReadDiscoveryV1beta1NamespacedEndpointSlice r.name = "ReadDiscoveryV1beta1NamespacedEndpointSlice" r.summary = "" r.operationID = "readDiscoveryV1beta1NamespacedEndpointSlice" @@ -21918,9 +21897,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: WatchDiscoveryV1beta1EndpointSliceListForAllNamespaces r.name = "WatchDiscoveryV1beta1EndpointSliceListForAllNamespaces" r.summary = "" r.operationID = "watchDiscoveryV1beta1EndpointSliceListForAllNamespaces" @@ -21992,9 +21971,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: WatchDiscoveryV1beta1NamespacedEndpointSlice r.name = "WatchDiscoveryV1beta1NamespacedEndpointSlice" r.summary = "" r.operationID = "watchDiscoveryV1beta1NamespacedEndpointSlice" @@ -22093,9 +22072,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ListEventsV1EventForAllNamespaces r.name = "ListEventsV1EventForAllNamespaces" r.summary = "" r.operationID = "listEventsV1EventForAllNamespaces" @@ -22167,9 +22146,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ReadEventsV1NamespacedEvent r.name = "ReadEventsV1NamespacedEvent" r.summary = "" r.operationID = "readEventsV1NamespacedEvent" @@ -22210,9 +22189,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: WatchEventsV1EventListForAllNamespaces r.name = "WatchEventsV1EventListForAllNamespaces" r.summary = "" r.operationID = "watchEventsV1EventListForAllNamespaces" @@ -22284,9 +22263,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: WatchEventsV1NamespacedEvent r.name = "WatchEventsV1NamespacedEvent" r.summary = "" r.operationID = "watchEventsV1NamespacedEvent" @@ -22344,9 +22323,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ListEventsV1beta1EventForAllNamespaces r.name = "ListEventsV1beta1EventForAllNamespaces" r.summary = "" r.operationID = "listEventsV1beta1EventForAllNamespaces" @@ -22418,9 +22397,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ReadEventsV1beta1NamespacedEvent r.name = "ReadEventsV1beta1NamespacedEvent" r.summary = "" r.operationID = "readEventsV1beta1NamespacedEvent" @@ -22461,9 +22440,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: WatchEventsV1beta1EventListForAllNamespaces r.name = "WatchEventsV1beta1EventListForAllNamespaces" r.summary = "" r.operationID = "watchEventsV1beta1EventListForAllNamespaces" @@ -22535,9 +22514,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: WatchEventsV1beta1NamespacedEvent r.name = "WatchEventsV1beta1NamespacedEvent" r.summary = "" r.operationID = "watchEventsV1beta1NamespacedEvent" @@ -22691,9 +22670,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ReadFlowcontrolApiserverV1beta1FlowSchemaStatus r.name = "ReadFlowcontrolApiserverV1beta1FlowSchemaStatus" r.summary = "" r.operationID = "readFlowcontrolApiserverV1beta1FlowSchemaStatus" @@ -22777,9 +22756,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ReadFlowcontrolApiserverV1beta1PriorityLevelConfigurationStatus r.name = "ReadFlowcontrolApiserverV1beta1PriorityLevelConfigurationStatus" r.summary = "" r.operationID = "readFlowcontrolApiserverV1beta1PriorityLevelConfigurationStatus" @@ -22848,9 +22827,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: WatchFlowcontrolApiserverV1beta1FlowSchema r.name = "WatchFlowcontrolApiserverV1beta1FlowSchema" r.summary = "" r.operationID = "watchFlowcontrolApiserverV1beta1FlowSchema" @@ -22904,9 +22883,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: WatchFlowcontrolApiserverV1beta1PriorityLevelConfiguration r.name = "WatchFlowcontrolApiserverV1beta1PriorityLevelConfiguration" r.summary = "" r.operationID = "watchFlowcontrolApiserverV1beta1PriorityLevelConfiguration" @@ -23016,9 +22995,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ReadFlowcontrolApiserverV1beta2FlowSchemaStatus r.name = "ReadFlowcontrolApiserverV1beta2FlowSchemaStatus" r.summary = "" r.operationID = "readFlowcontrolApiserverV1beta2FlowSchemaStatus" @@ -23102,9 +23081,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ReadFlowcontrolApiserverV1beta2PriorityLevelConfigurationStatus r.name = "ReadFlowcontrolApiserverV1beta2PriorityLevelConfigurationStatus" r.summary = "" r.operationID = "readFlowcontrolApiserverV1beta2PriorityLevelConfigurationStatus" @@ -23173,9 +23152,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: WatchFlowcontrolApiserverV1beta2FlowSchema r.name = "WatchFlowcontrolApiserverV1beta2FlowSchema" r.summary = "" r.operationID = "watchFlowcontrolApiserverV1beta2FlowSchema" @@ -23229,9 +23208,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: WatchFlowcontrolApiserverV1beta2PriorityLevelConfiguration r.name = "WatchFlowcontrolApiserverV1beta2PriorityLevelConfiguration" r.summary = "" r.operationID = "watchFlowcontrolApiserverV1beta2PriorityLevelConfiguration" @@ -23370,9 +23349,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ReadInternalApiserverV1alpha1StorageVersionStatus r.name = "ReadInternalApiserverV1alpha1StorageVersionStatus" r.summary = "" r.operationID = "readInternalApiserverV1alpha1StorageVersionStatus" @@ -23429,9 +23408,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: WatchInternalApiserverV1alpha1StorageVersion r.name = "WatchInternalApiserverV1alpha1StorageVersion" r.summary = "" r.operationID = "watchInternalApiserverV1alpha1StorageVersion" @@ -23561,9 +23540,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ReadNetworkingV1IngressClass r.name = "ReadNetworkingV1IngressClass" r.summary = "" r.operationID = "readNetworkingV1IngressClass" @@ -23589,9 +23568,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ListNetworkingV1IngressForAllNamespaces r.name = "ListNetworkingV1IngressForAllNamespaces" r.summary = "" r.operationID = "listNetworkingV1IngressForAllNamespaces" @@ -23717,9 +23696,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ReadNetworkingV1NamespacedIngressStatus r.name = "ReadNetworkingV1NamespacedIngressStatus" r.summary = "" r.operationID = "readNetworkingV1NamespacedIngressStatus" @@ -23776,9 +23755,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ReadNetworkingV1NamespacedNetworkPolicy r.name = "ReadNetworkingV1NamespacedNetworkPolicy" r.summary = "" r.operationID = "readNetworkingV1NamespacedNetworkPolicy" @@ -23810,9 +23789,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ListNetworkingV1NetworkPolicyForAllNamespaces r.name = "ListNetworkingV1NetworkPolicyForAllNamespaces" r.summary = "" r.operationID = "listNetworkingV1NetworkPolicyForAllNamespaces" @@ -23890,9 +23869,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: WatchNetworkingV1IngressClass r.name = "WatchNetworkingV1IngressClass" r.summary = "" r.operationID = "watchNetworkingV1IngressClass" @@ -23918,9 +23897,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: WatchNetworkingV1IngressListForAllNamespaces r.name = "WatchNetworkingV1IngressListForAllNamespaces" r.summary = "" r.operationID = "watchNetworkingV1IngressListForAllNamespaces" @@ -24019,9 +23998,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: WatchNetworkingV1NamespacedIngress r.name = "WatchNetworkingV1NamespacedIngress" r.summary = "" r.operationID = "watchNetworkingV1NamespacedIngress" @@ -24075,9 +24054,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: WatchNetworkingV1NamespacedNetworkPolicy r.name = "WatchNetworkingV1NamespacedNetworkPolicy" r.summary = "" r.operationID = "watchNetworkingV1NamespacedNetworkPolicy" @@ -24109,9 +24088,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: WatchNetworkingV1NetworkPolicyListForAllNamespaces r.name = "WatchNetworkingV1NetworkPolicyListForAllNamespaces" r.summary = "" r.operationID = "watchNetworkingV1NetworkPolicyListForAllNamespaces" @@ -24232,9 +24211,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ReadNodeV1RuntimeClass r.name = "ReadNodeV1RuntimeClass" r.summary = "" r.operationID = "readNodeV1RuntimeClass" @@ -24288,9 +24267,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: WatchNodeV1RuntimeClass r.name = "WatchNodeV1RuntimeClass" r.summary = "" r.operationID = "watchNodeV1RuntimeClass" @@ -24370,9 +24349,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ReadNodeV1alpha1RuntimeClass r.name = "ReadNodeV1alpha1RuntimeClass" r.summary = "" r.operationID = "readNodeV1alpha1RuntimeClass" @@ -24426,9 +24405,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: WatchNodeV1alpha1RuntimeClass r.name = "WatchNodeV1alpha1RuntimeClass" r.summary = "" r.operationID = "watchNodeV1alpha1RuntimeClass" @@ -24508,9 +24487,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ReadNodeV1beta1RuntimeClass r.name = "ReadNodeV1beta1RuntimeClass" r.summary = "" r.operationID = "readNodeV1beta1RuntimeClass" @@ -24564,9 +24543,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: WatchNodeV1beta1RuntimeClass r.name = "WatchNodeV1beta1RuntimeClass" r.summary = "" r.operationID = "watchNodeV1beta1RuntimeClass" @@ -24738,9 +24717,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ReadPolicyV1NamespacedPodDisruptionBudgetStatus r.name = "ReadPolicyV1NamespacedPodDisruptionBudgetStatus" r.summary = "" r.operationID = "readPolicyV1NamespacedPodDisruptionBudgetStatus" @@ -24772,9 +24751,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ListPolicyV1PodDisruptionBudgetForAllNamespaces r.name = "ListPolicyV1PodDisruptionBudgetForAllNamespaces" r.summary = "" r.operationID = "listPolicyV1PodDisruptionBudgetForAllNamespaces" @@ -24858,9 +24837,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: WatchPolicyV1NamespacedPodDisruptionBudget r.name = "WatchPolicyV1NamespacedPodDisruptionBudget" r.summary = "" r.operationID = "watchPolicyV1NamespacedPodDisruptionBudget" @@ -24889,9 +24868,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: WatchPolicyV1PodDisruptionBudgetListForAllNamespaces r.name = "WatchPolicyV1PodDisruptionBudgetListForAllNamespaces" r.summary = "" r.operationID = "watchPolicyV1PodDisruptionBudgetListForAllNamespaces" @@ -25019,9 +24998,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ReadPolicyV1beta1NamespacedPodDisruptionBudgetStatus r.name = "ReadPolicyV1beta1NamespacedPodDisruptionBudgetStatus" r.summary = "" r.operationID = "readPolicyV1beta1NamespacedPodDisruptionBudgetStatus" @@ -25065,9 +25044,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ListPolicyV1beta1PodDisruptionBudgetForAllNamespaces r.name = "ListPolicyV1beta1PodDisruptionBudgetForAllNamespaces" r.summary = "" r.operationID = "listPolicyV1beta1PodDisruptionBudgetForAllNamespaces" @@ -25118,9 +25097,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ReadPolicyV1beta1PodSecurityPolicy r.name = "ReadPolicyV1beta1PodSecurityPolicy" r.summary = "" r.operationID = "readPolicyV1beta1PodSecurityPolicy" @@ -25210,9 +25189,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: WatchPolicyV1beta1NamespacedPodDisruptionBudget r.name = "WatchPolicyV1beta1NamespacedPodDisruptionBudget" r.summary = "" r.operationID = "watchPolicyV1beta1NamespacedPodDisruptionBudget" @@ -25253,9 +25232,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: WatchPolicyV1beta1PodDisruptionBudgetListForAllNamespaces r.name = "WatchPolicyV1beta1PodDisruptionBudgetListForAllNamespaces" r.summary = "" r.operationID = "watchPolicyV1beta1PodDisruptionBudgetListForAllNamespaces" @@ -25306,9 +25285,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: WatchPolicyV1beta1PodSecurityPolicy r.name = "WatchPolicyV1beta1PodSecurityPolicy" r.summary = "" r.operationID = "watchPolicyV1beta1PodSecurityPolicy" @@ -25435,9 +25414,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ReadRbacAuthorizationV1ClusterRoleBinding r.name = "ReadRbacAuthorizationV1ClusterRoleBinding" r.summary = "" r.operationID = "readRbacAuthorizationV1ClusterRoleBinding" @@ -25491,9 +25470,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ReadRbacAuthorizationV1ClusterRole r.name = "ReadRbacAuthorizationV1ClusterRole" r.summary = "" r.operationID = "readRbacAuthorizationV1ClusterRole" @@ -25583,9 +25562,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ReadRbacAuthorizationV1NamespacedRoleBinding r.name = "ReadRbacAuthorizationV1NamespacedRoleBinding" r.summary = "" r.operationID = "readRbacAuthorizationV1NamespacedRoleBinding" @@ -25639,9 +25618,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ReadRbacAuthorizationV1NamespacedRole r.name = "ReadRbacAuthorizationV1NamespacedRole" r.summary = "" r.operationID = "readRbacAuthorizationV1NamespacedRole" @@ -25685,9 +25664,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ListRbacAuthorizationV1RoleBindingForAllNamespaces r.name = "ListRbacAuthorizationV1RoleBindingForAllNamespaces" r.summary = "" r.operationID = "listRbacAuthorizationV1RoleBindingForAllNamespaces" @@ -25710,9 +25689,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ListRbacAuthorizationV1RoleForAllNamespaces r.name = "ListRbacAuthorizationV1RoleForAllNamespaces" r.summary = "" r.operationID = "listRbacAuthorizationV1RoleForAllNamespaces" @@ -25790,9 +25769,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: WatchRbacAuthorizationV1ClusterRoleBinding r.name = "WatchRbacAuthorizationV1ClusterRoleBinding" r.summary = "" r.operationID = "watchRbacAuthorizationV1ClusterRoleBinding" @@ -25846,9 +25825,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: WatchRbacAuthorizationV1ClusterRole r.name = "WatchRbacAuthorizationV1ClusterRole" r.summary = "" r.operationID = "watchRbacAuthorizationV1ClusterRole" @@ -25938,9 +25917,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: WatchRbacAuthorizationV1NamespacedRoleBinding r.name = "WatchRbacAuthorizationV1NamespacedRoleBinding" r.summary = "" r.operationID = "watchRbacAuthorizationV1NamespacedRoleBinding" @@ -25994,9 +25973,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: WatchRbacAuthorizationV1NamespacedRole r.name = "WatchRbacAuthorizationV1NamespacedRole" r.summary = "" r.operationID = "watchRbacAuthorizationV1NamespacedRole" @@ -26040,9 +26019,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: WatchRbacAuthorizationV1RoleBindingListForAllNamespaces r.name = "WatchRbacAuthorizationV1RoleBindingListForAllNamespaces" r.summary = "" r.operationID = "watchRbacAuthorizationV1RoleBindingListForAllNamespaces" @@ -26065,9 +26044,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: WatchRbacAuthorizationV1RoleListForAllNamespaces r.name = "WatchRbacAuthorizationV1RoleListForAllNamespaces" r.summary = "" r.operationID = "watchRbacAuthorizationV1RoleListForAllNamespaces" @@ -26188,9 +26167,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ReadSchedulingV1PriorityClass r.name = "ReadSchedulingV1PriorityClass" r.summary = "" r.operationID = "readSchedulingV1PriorityClass" @@ -26244,9 +26223,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: WatchSchedulingV1PriorityClass r.name = "WatchSchedulingV1PriorityClass" r.summary = "" r.operationID = "watchSchedulingV1PriorityClass" @@ -26376,9 +26355,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ReadStorageV1CSIDriver r.name = "ReadStorageV1CSIDriver" r.summary = "" r.operationID = "readStorageV1CSIDriver" @@ -26432,9 +26411,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ReadStorageV1CSINode r.name = "ReadStorageV1CSINode" r.summary = "" r.operationID = "readStorageV1CSINode" @@ -26491,9 +26470,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ReadStorageV1StorageClass r.name = "ReadStorageV1StorageClass" r.summary = "" r.operationID = "readStorageV1StorageClass" @@ -26574,9 +26553,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ReadStorageV1VolumeAttachmentStatus r.name = "ReadStorageV1VolumeAttachmentStatus" r.summary = "" r.operationID = "readStorageV1VolumeAttachmentStatus" @@ -26657,9 +26636,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: WatchStorageV1CSIDriver r.name = "WatchStorageV1CSIDriver" r.summary = "" r.operationID = "watchStorageV1CSIDriver" @@ -26713,9 +26692,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: WatchStorageV1CSINode r.name = "WatchStorageV1CSINode" r.summary = "" r.operationID = "watchStorageV1CSINode" @@ -26772,9 +26751,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: WatchStorageV1StorageClass r.name = "WatchStorageV1StorageClass" r.summary = "" r.operationID = "watchStorageV1StorageClass" @@ -26828,9 +26807,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: WatchStorageV1VolumeAttachment r.name = "WatchStorageV1VolumeAttachment" r.summary = "" r.operationID = "watchStorageV1VolumeAttachment" @@ -26885,9 +26864,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ListStorageV1alpha1CSIStorageCapacityForAllNamespaces r.name = "ListStorageV1alpha1CSIStorageCapacityForAllNamespaces" r.summary = "" r.operationID = "listStorageV1alpha1CSIStorageCapacityForAllNamespaces" @@ -26959,9 +26938,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ReadStorageV1alpha1NamespacedCSIStorageCapacity r.name = "ReadStorageV1alpha1NamespacedCSIStorageCapacity" r.summary = "" r.operationID = "readStorageV1alpha1NamespacedCSIStorageCapacity" @@ -27002,9 +26981,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: WatchStorageV1alpha1CSIStorageCapacityListForAllNamespaces r.name = "WatchStorageV1alpha1CSIStorageCapacityListForAllNamespaces" r.summary = "" r.operationID = "watchStorageV1alpha1CSIStorageCapacityListForAllNamespaces" @@ -27076,9 +27055,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: WatchStorageV1alpha1NamespacedCSIStorageCapacity r.name = "WatchStorageV1alpha1NamespacedCSIStorageCapacity" r.summary = "" r.operationID = "watchStorageV1alpha1NamespacedCSIStorageCapacity" @@ -27136,9 +27115,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ListStorageV1beta1CSIStorageCapacityForAllNamespaces r.name = "ListStorageV1beta1CSIStorageCapacityForAllNamespaces" r.summary = "" r.operationID = "listStorageV1beta1CSIStorageCapacityForAllNamespaces" @@ -27210,9 +27189,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ReadStorageV1beta1NamespacedCSIStorageCapacity r.name = "ReadStorageV1beta1NamespacedCSIStorageCapacity" r.summary = "" r.operationID = "readStorageV1beta1NamespacedCSIStorageCapacity" @@ -27253,9 +27232,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: WatchStorageV1beta1CSIStorageCapacityListForAllNamespaces r.name = "WatchStorageV1beta1CSIStorageCapacityListForAllNamespaces" r.summary = "" r.operationID = "watchStorageV1beta1CSIStorageCapacityListForAllNamespaces" @@ -27327,9 +27306,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: WatchStorageV1beta1NamespacedCSIStorageCapacity r.name = "WatchStorageV1beta1NamespacedCSIStorageCapacity" r.summary = "" r.operationID = "watchStorageV1beta1NamespacedCSIStorageCapacity" @@ -27378,15 +27357,29 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { break } + if len(elem) == 0 { + switch method { + case "GET": + r.name = "LogFileListHandler" + r.summary = "" + r.operationID = "logFileListHandler" + r.pathPattern = "/logs/" + r.args = args + r.count = 0 + return r, true + default: + return + } + } // Param: "logpath" // Leaf parameter args[0] = elem elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: LogFileHandler r.name = "LogFileHandler" r.summary = "" r.operationID = "logFileHandler" @@ -27409,9 +27402,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: GetServiceAccountIssuerOpenIDKeyset r.name = "GetServiceAccountIssuerOpenIDKeyset" r.summary = "" r.operationID = "getServiceAccountIssuerOpenIDKeyset" @@ -27434,9 +27427,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: GetCodeVersion r.name = "GetCodeVersion" r.summary = "" r.operationID = "getCodeVersion" diff --git a/examples/ex_manga/oas_router_gen.go b/examples/ex_manga/oas_router_gen.go index 030f9aa08..837888eb6 100644 --- a/examples/ex_manga/oas_router_gen.go +++ b/examples/ex_manga/oas_router_gen.go @@ -431,9 +431,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: Search r.name = "Search" r.summary = "Search for comics" r.operationID = "search" @@ -456,9 +456,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: SearchByTagID r.name = "SearchByTagID" r.summary = "Search for comics by tag ID" r.operationID = "searchByTagID" @@ -489,9 +489,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: GetBook r.name = "GetBook" r.summary = "Gets metadata of book" r.operationID = "getBook" @@ -555,9 +555,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: GetPageCoverImage r.name = "GetPageCoverImage" r.summary = "Gets page cover" r.operationID = "getPageCoverImage" @@ -599,9 +599,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: GetPageImage r.name = "GetPageImage" r.summary = "Gets page" r.operationID = "getPageImage" @@ -629,9 +629,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: GetPageThumbnailImage r.name = "GetPageThumbnailImage" r.summary = "Gets page thumbnail" r.operationID = "getPageThumbnailImage" diff --git a/examples/ex_oauth2/oas_router_gen.go b/examples/ex_oauth2/oas_router_gen.go index 2b33a57ad..1c1c5dadd 100644 --- a/examples/ex_oauth2/oas_router_gen.go +++ b/examples/ex_oauth2/oas_router_gen.go @@ -230,9 +230,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "DELETE": - // Leaf: DeletePet r.name = "DeletePet" r.summary = "" r.operationID = "deletePet" @@ -241,7 +241,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 1 return r, true case "GET": - // Leaf: FindPetByID r.name = "FindPetByID" r.summary = "" r.operationID = "find pet by id" diff --git a/examples/ex_openai/oas_router_gen.go b/examples/ex_openai/oas_router_gen.go index 26937f153..2b429c53d 100644 --- a/examples/ex_openai/oas_router_gen.go +++ b/examples/ex_openai/oas_router_gen.go @@ -868,9 +868,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: CreateAnswer r.name = "CreateAnswer" r.summary = "Answers the specified question using the provided documents and examples.\n\nThe endpoint first [searches](/docs/api-reference/searches) over provided documents or files to find relevant context. The relevant context is combined with the provided examples and question to create the prompt for [completion](/docs/api-reference/completions).\n" r.operationID = "createAnswer" @@ -905,9 +905,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: CreateTranscription r.name = "CreateTranscription" r.summary = "Transcribes audio into the input language." r.operationID = "createTranscription" @@ -930,9 +930,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: CreateTranslation r.name = "CreateTranslation" r.summary = "Translates audio into into English." r.operationID = "createTranslation" @@ -973,9 +973,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: CreateChatCompletion r.name = "CreateChatCompletion" r.summary = "Creates a completion for the chat message" r.operationID = "createChatCompletion" @@ -998,9 +998,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: CreateClassification r.name = "CreateClassification" r.summary = "Classifies the specified `query` using provided examples.\n\nThe endpoint first [searches](/docs/api-reference/searches) over the labeled examples\nto select the ones most relevant for the particular query. Then, the relevant examples\nare combined with the query to construct a prompt to produce the final label via the\n[completions](/docs/api-reference/completions) endpoint.\n\nLabeled examples can be provided via an uploaded `file`, or explicitly listed in the\nrequest using the `examples` parameter for quick tests and small scale use cases.\n" r.operationID = "createClassification" @@ -1023,9 +1023,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: CreateCompletion r.name = "CreateCompletion" r.summary = "Creates a completion for the provided prompt and parameters" r.operationID = "createCompletion" @@ -1063,9 +1063,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: CreateEdit r.name = "CreateEdit" r.summary = "Creates a new edit for the provided input, instruction, and parameters." r.operationID = "createEdit" @@ -1088,9 +1088,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: CreateEmbedding r.name = "CreateEmbedding" r.summary = "Creates an embedding vector representing the input text." r.operationID = "createEmbedding" @@ -1168,9 +1168,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: CreateSearch r.name = "CreateSearch" r.summary = "The search endpoint computes similarity scores between provided query and documents. Documents can be passed directly to the API if there are no more than 200 of them.\n\nTo go beyond the 200 document limit, documents can be processed offline and then used for efficient retrieval at query time. When `file` is set, the search endpoint searches over all the documents in the given file and returns up to the `max_rerank` number of documents. These documents will be returned along with their search scores.\n\nThe similarity score is a positive score that usually ranges from 0 to 300 (but can sometimes go higher), where a score above 200 usually means the document is semantically similar to the query.\n" r.operationID = "createSearch" @@ -1285,9 +1285,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: DownloadFile r.name = "DownloadFile" r.summary = "Returns the contents of the specified file" r.operationID = "downloadFile" @@ -1391,9 +1391,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: CancelFineTune r.name = "CancelFineTune" r.summary = "Immediately cancel a fine-tune job.\n" r.operationID = "cancelFineTune" @@ -1416,9 +1416,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ListFineTuneEvents r.name = "ListFineTuneEvents" r.summary = "Get fine-grained status updates for a fine-tune job.\n" r.operationID = "listFineTuneEvents" @@ -1465,9 +1465,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: CreateImageEdit r.name = "CreateImageEdit" r.summary = "Creates an edited or extended image given an original image and a prompt." r.operationID = "createImageEdit" @@ -1490,9 +1490,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: CreateImage r.name = "CreateImage" r.summary = "Creates an image given a prompt." r.operationID = "createImage" @@ -1515,9 +1515,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: CreateImageVariation r.name = "CreateImageVariation" r.summary = "Creates a variation of a given image." r.operationID = "createImageVariation" @@ -1583,9 +1583,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "DELETE": - // Leaf: DeleteModel r.name = "DeleteModel" r.summary = "Delete a fine-tuned model. You must have the Owner role in your organization." r.operationID = "deleteModel" @@ -1594,7 +1594,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 1 return r, true case "GET": - // Leaf: RetrieveModel r.name = "RetrieveModel" r.summary = "Retrieves a model instance, providing basic information about the model such as the owner and permissioning." r.operationID = "retrieveModel" @@ -1620,9 +1619,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: CreateModeration r.name = "CreateModeration" r.summary = "Classifies if text violates OpenAI's Content Policy" r.operationID = "createModeration" diff --git a/examples/ex_petstore/oas_router_gen.go b/examples/ex_petstore/oas_router_gen.go index c121f6858..a08008931 100644 --- a/examples/ex_petstore/oas_router_gen.go +++ b/examples/ex_petstore/oas_router_gen.go @@ -226,9 +226,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ShowPetById r.name = "ShowPetById" r.summary = "Info for a specific pet" r.operationID = "showPetById" diff --git a/examples/ex_petstore_expanded/oas_router_gen.go b/examples/ex_petstore_expanded/oas_router_gen.go index 2b33a57ad..1c1c5dadd 100644 --- a/examples/ex_petstore_expanded/oas_router_gen.go +++ b/examples/ex_petstore_expanded/oas_router_gen.go @@ -230,9 +230,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "DELETE": - // Leaf: DeletePet r.name = "DeletePet" r.summary = "" r.operationID = "deletePet" @@ -241,7 +241,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 1 return r, true case "GET": - // Leaf: FindPetByID r.name = "FindPetByID" r.summary = "" r.operationID = "find pet by id" diff --git a/examples/ex_route_params/oas_router_gen.go b/examples/ex_route_params/oas_router_gen.go index c835a5a59..70142c2ec 100644 --- a/examples/ex_route_params/oas_router_gen.go +++ b/examples/ex_route_params/oas_router_gen.go @@ -282,9 +282,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: DataGet r.name = "DataGet" r.summary = "" r.operationID = "dataGet" diff --git a/examples/ex_telegram/oas_router_gen.go b/examples/ex_telegram/oas_router_gen.go index 31c1c6e04..0a7b51454 100644 --- a/examples/ex_telegram/oas_router_gen.go +++ b/examples/ex_telegram/oas_router_gen.go @@ -2441,9 +2441,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: AddStickerToSet r.name = "AddStickerToSet" r.summary = "" r.operationID = "addStickerToSet" @@ -2478,9 +2478,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: AnswerCallbackQuery r.name = "AnswerCallbackQuery" r.summary = "" r.operationID = "answerCallbackQuery" @@ -2503,9 +2503,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: AnswerInlineQuery r.name = "AnswerInlineQuery" r.summary = "" r.operationID = "answerInlineQuery" @@ -2528,9 +2528,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: AnswerPreCheckoutQuery r.name = "AnswerPreCheckoutQuery" r.summary = "" r.operationID = "answerPreCheckoutQuery" @@ -2553,9 +2553,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: AnswerShippingQuery r.name = "AnswerShippingQuery" r.summary = "" r.operationID = "answerShippingQuery" @@ -2581,9 +2581,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: ApproveChatJoinRequest r.name = "ApproveChatJoinRequest" r.summary = "" r.operationID = "approveChatJoinRequest" @@ -2621,9 +2621,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: BanChatMember r.name = "BanChatMember" r.summary = "" r.operationID = "banChatMember" @@ -2646,9 +2646,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: BanChatSenderChat r.name = "BanChatSenderChat" r.summary = "" r.operationID = "banChatSenderChat" @@ -2686,9 +2686,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: Close r.name = "Close" r.summary = "" r.operationID = "close" @@ -2711,9 +2711,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: CopyMessage r.name = "CopyMessage" r.summary = "" r.operationID = "copyMessage" @@ -2748,9 +2748,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: CreateChatInviteLink r.name = "CreateChatInviteLink" r.summary = "" r.operationID = "createChatInviteLink" @@ -2773,9 +2773,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: CreateNewStickerSet r.name = "CreateNewStickerSet" r.summary = "" r.operationID = "createNewStickerSet" @@ -2816,9 +2816,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: DeclineChatJoinRequest r.name = "DeclineChatJoinRequest" r.summary = "" r.operationID = "declineChatJoinRequest" @@ -2865,9 +2865,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: DeleteChatPhoto r.name = "DeleteChatPhoto" r.summary = "" r.operationID = "deleteChatPhoto" @@ -2890,9 +2890,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: DeleteChatStickerSet r.name = "DeleteChatStickerSet" r.summary = "" r.operationID = "deleteChatStickerSet" @@ -2930,9 +2930,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: DeleteMessage r.name = "DeleteMessage" r.summary = "" r.operationID = "deleteMessage" @@ -2955,9 +2955,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: DeleteMyCommands r.name = "DeleteMyCommands" r.summary = "" r.operationID = "deleteMyCommands" @@ -2983,9 +2983,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: DeleteStickerFromSet r.name = "DeleteStickerFromSet" r.summary = "" r.operationID = "deleteStickerFromSet" @@ -3008,9 +3008,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: DeleteWebhook r.name = "DeleteWebhook" r.summary = "" r.operationID = "deleteWebhook" @@ -3063,9 +3063,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: EditChatInviteLink r.name = "EditChatInviteLink" r.summary = "" r.operationID = "editChatInviteLink" @@ -3100,9 +3100,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: EditMessageCaption r.name = "EditMessageCaption" r.summary = "" r.operationID = "editMessageCaption" @@ -3125,9 +3125,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: EditMessageLiveLocation r.name = "EditMessageLiveLocation" r.summary = "" r.operationID = "editMessageLiveLocation" @@ -3150,9 +3150,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: EditMessageMedia r.name = "EditMessageMedia" r.summary = "" r.operationID = "editMessageMedia" @@ -3175,9 +3175,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: EditMessageReplyMarkup r.name = "EditMessageReplyMarkup" r.summary = "" r.operationID = "editMessageReplyMarkup" @@ -3200,9 +3200,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: EditMessageText r.name = "EditMessageText" r.summary = "" r.operationID = "editMessageText" @@ -3231,9 +3231,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: ExportChatInviteLink r.name = "ExportChatInviteLink" r.summary = "" r.operationID = "exportChatInviteLink" @@ -3259,9 +3259,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: ForwardMessage r.name = "ForwardMessage" r.summary = "" r.operationID = "forwardMessage" @@ -3319,9 +3319,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: GetChatAdministrators r.name = "GetChatAdministrators" r.summary = "" r.operationID = "getChatAdministrators" @@ -3367,9 +3367,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: GetChatMemberCount r.name = "GetChatMemberCount" r.summary = "" r.operationID = "getChatMemberCount" @@ -3398,9 +3398,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: GetFile r.name = "GetFile" r.summary = "" r.operationID = "getFile" @@ -3423,9 +3423,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: GetGameHighScores r.name = "GetGameHighScores" r.summary = "" r.operationID = "getGameHighScores" @@ -3460,9 +3460,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: GetMe r.name = "GetMe" r.summary = "" r.operationID = "getMe" @@ -3485,9 +3485,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: GetMyCommands r.name = "GetMyCommands" r.summary = "" r.operationID = "getMyCommands" @@ -3513,9 +3513,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: GetStickerSet r.name = "GetStickerSet" r.summary = "" r.operationID = "getStickerSet" @@ -3550,9 +3550,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: GetUpdates r.name = "GetUpdates" r.summary = "" r.operationID = "getUpdates" @@ -3575,9 +3575,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: GetUserProfilePhotos r.name = "GetUserProfilePhotos" r.summary = "" r.operationID = "getUserProfilePhotos" @@ -3603,9 +3603,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: GetWebhookInfo r.name = "GetWebhookInfo" r.summary = "" r.operationID = "getWebhookInfo" @@ -3643,9 +3643,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: LeaveChat r.name = "LeaveChat" r.summary = "" r.operationID = "leaveChat" @@ -3668,9 +3668,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: LogOut r.name = "LogOut" r.summary = "" r.operationID = "logOut" @@ -3708,9 +3708,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: PinChatMessage r.name = "PinChatMessage" r.summary = "" r.operationID = "pinChatMessage" @@ -3733,9 +3733,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: PromoteChatMember r.name = "PromoteChatMember" r.summary = "" r.operationID = "promoteChatMember" @@ -3773,9 +3773,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: RestrictChatMember r.name = "RestrictChatMember" r.summary = "" r.operationID = "restrictChatMember" @@ -3798,9 +3798,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: RevokeChatInviteLink r.name = "RevokeChatInviteLink" r.summary = "" r.operationID = "revokeChatInviteLink" @@ -3874,9 +3874,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: SendAnimation r.name = "SendAnimation" r.summary = "" r.operationID = "sendAnimation" @@ -3899,9 +3899,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: SendAudio r.name = "SendAudio" r.summary = "" r.operationID = "sendAudio" @@ -3939,9 +3939,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: SendChatAction r.name = "SendChatAction" r.summary = "" r.operationID = "sendChatAction" @@ -3964,9 +3964,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: SendContact r.name = "SendContact" r.summary = "" r.operationID = "sendContact" @@ -4004,9 +4004,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: SendDice r.name = "SendDice" r.summary = "" r.operationID = "sendDice" @@ -4029,9 +4029,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: SendDocument r.name = "SendDocument" r.summary = "" r.operationID = "sendDocument" @@ -4057,9 +4057,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: SendGame r.name = "SendGame" r.summary = "" r.operationID = "sendGame" @@ -4082,9 +4082,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: SendInvoice r.name = "SendInvoice" r.summary = "" r.operationID = "sendInvoice" @@ -4107,9 +4107,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: SendLocation r.name = "SendLocation" r.summary = "" r.operationID = "sendLocation" @@ -4144,9 +4144,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: SendMediaGroup r.name = "SendMediaGroup" r.summary = "" r.operationID = "sendMediaGroup" @@ -4169,9 +4169,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: SendMessage r.name = "SendMessage" r.summary = "" r.operationID = "sendMessage" @@ -4209,9 +4209,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: SendPhoto r.name = "SendPhoto" r.summary = "" r.operationID = "sendPhoto" @@ -4234,9 +4234,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: SendPoll r.name = "SendPoll" r.summary = "" r.operationID = "sendPoll" @@ -4262,9 +4262,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: SendSticker r.name = "SendSticker" r.summary = "" r.operationID = "sendSticker" @@ -4299,9 +4299,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: SendVenue r.name = "SendVenue" r.summary = "" r.operationID = "sendVenue" @@ -4347,9 +4347,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: SendVideoNote r.name = "SendVideoNote" r.summary = "" r.operationID = "sendVideoNote" @@ -4375,9 +4375,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: SendVoice r.name = "SendVoice" r.summary = "" r.operationID = "sendVoice" @@ -4430,9 +4430,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: SetChatAdministratorCustomTitle r.name = "SetChatAdministratorCustomTitle" r.summary = "" r.operationID = "setChatAdministratorCustomTitle" @@ -4455,9 +4455,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: SetChatDescription r.name = "SetChatDescription" r.summary = "" r.operationID = "setChatDescription" @@ -4492,9 +4492,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: SetChatPermissions r.name = "SetChatPermissions" r.summary = "" r.operationID = "setChatPermissions" @@ -4517,9 +4517,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: SetChatPhoto r.name = "SetChatPhoto" r.summary = "" r.operationID = "setChatPhoto" @@ -4545,9 +4545,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: SetChatStickerSet r.name = "SetChatStickerSet" r.summary = "" r.operationID = "setChatStickerSet" @@ -4570,9 +4570,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: SetChatTitle r.name = "SetChatTitle" r.summary = "" r.operationID = "setChatTitle" @@ -4598,9 +4598,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: SetGameScore r.name = "SetGameScore" r.summary = "" r.operationID = "setGameScore" @@ -4623,9 +4623,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: SetMyCommands r.name = "SetMyCommands" r.summary = "" r.operationID = "setMyCommands" @@ -4648,9 +4648,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: SetPassportDataErrors r.name = "SetPassportDataErrors" r.summary = "" r.operationID = "setPassportDataErrors" @@ -4685,9 +4685,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: SetStickerPositionInSet r.name = "SetStickerPositionInSet" r.summary = "" r.operationID = "setStickerPositionInSet" @@ -4710,9 +4710,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: SetStickerSetThumb r.name = "SetStickerSetThumb" r.summary = "" r.operationID = "setStickerSetThumb" @@ -4738,9 +4738,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: SetWebhook r.name = "SetWebhook" r.summary = "" r.operationID = "setWebhook" @@ -4781,9 +4781,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: StopMessageLiveLocation r.name = "StopMessageLiveLocation" r.summary = "" r.operationID = "stopMessageLiveLocation" @@ -4806,9 +4806,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: StopPoll r.name = "StopPoll" r.summary = "" r.operationID = "stopPoll" @@ -4873,9 +4873,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: UnbanChatMember r.name = "UnbanChatMember" r.summary = "" r.operationID = "unbanChatMember" @@ -4898,9 +4898,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: UnbanChatSenderChat r.name = "UnbanChatSenderChat" r.summary = "" r.operationID = "unbanChatSenderChat" @@ -4938,9 +4938,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: UnpinAllChatMessages r.name = "UnpinAllChatMessages" r.summary = "" r.operationID = "unpinAllChatMessages" @@ -4963,9 +4963,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: UnpinChatMessage r.name = "UnpinChatMessage" r.summary = "" r.operationID = "unpinChatMessage" @@ -4994,9 +4994,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: UploadStickerFile r.name = "UploadStickerFile" r.summary = "" r.operationID = "uploadStickerFile" diff --git a/examples/ex_test_format/oas_router_gen.go b/examples/ex_test_format/oas_router_gen.go index 761b75b2d..a1c833d27 100644 --- a/examples/ex_test_format/oas_router_gen.go +++ b/examples/ex_test_format/oas_router_gen.go @@ -25424,9 +25424,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestQueryParameter r.name = "TestQueryParameter" r.summary = "" r.operationID = "test_query_parameter" @@ -25473,9 +25473,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestAny r.name = "TestRequestAny" r.summary = "" r.operationID = "test_request_Any" @@ -25498,9 +25498,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestEmptyStruct r.name = "TestRequestEmptyStruct" r.summary = "" r.operationID = "test_request_EmptyStruct" @@ -25523,9 +25523,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestFormatTest r.name = "TestRequestFormatTest" r.summary = "" r.operationID = "test_request_FormatTest" @@ -25606,9 +25606,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestBooleanArrayArray r.name = "TestRequestBooleanArrayArray" r.summary = "" r.operationID = "test_request_boolean_array_array" @@ -25680,9 +25680,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestBooleanNullableArrayArray r.name = "TestRequestBooleanNullableArrayArray" r.summary = "" r.operationID = "test_request_boolean_nullable_array_array" @@ -25775,9 +25775,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestIntegerArrayArray r.name = "TestRequestIntegerArrayArray" r.summary = "" r.operationID = "test_request_integer_array_array" @@ -25873,9 +25873,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestIntegerInt16ArrayArray r.name = "TestRequestIntegerInt16ArrayArray" r.summary = "" r.operationID = "test_request_integer_int16_array_array" @@ -25947,9 +25947,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestIntegerInt16NullableArrayArray r.name = "TestRequestIntegerInt16NullableArrayArray" r.summary = "" r.operationID = "test_request_integer_int16_nullable_array_array" @@ -26042,9 +26042,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestIntegerInt32ArrayArray r.name = "TestRequestIntegerInt32ArrayArray" r.summary = "" r.operationID = "test_request_integer_int32_array_array" @@ -26116,9 +26116,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestIntegerInt32NullableArrayArray r.name = "TestRequestIntegerInt32NullableArrayArray" r.summary = "" r.operationID = "test_request_integer_int32_nullable_array_array" @@ -26211,9 +26211,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestIntegerInt64ArrayArray r.name = "TestRequestIntegerInt64ArrayArray" r.summary = "" r.operationID = "test_request_integer_int64_array_array" @@ -26285,9 +26285,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestIntegerInt64NullableArrayArray r.name = "TestRequestIntegerInt64NullableArrayArray" r.summary = "" r.operationID = "test_request_integer_int64_nullable_array_array" @@ -26380,9 +26380,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestIntegerInt8ArrayArray r.name = "TestRequestIntegerInt8ArrayArray" r.summary = "" r.operationID = "test_request_integer_int8_array_array" @@ -26454,9 +26454,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestIntegerInt8NullableArrayArray r.name = "TestRequestIntegerInt8NullableArrayArray" r.summary = "" r.operationID = "test_request_integer_int8_nullable_array_array" @@ -26540,9 +26540,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestIntegerNullableArrayArray r.name = "TestRequestIntegerNullableArrayArray" r.summary = "" r.operationID = "test_request_integer_nullable_array_array" @@ -26664,9 +26664,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestIntegerUint16ArrayArray r.name = "TestRequestIntegerUint16ArrayArray" r.summary = "" r.operationID = "test_request_integer_uint16_array_array" @@ -26738,9 +26738,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestIntegerUint16NullableArrayArray r.name = "TestRequestIntegerUint16NullableArrayArray" r.summary = "" r.operationID = "test_request_integer_uint16_nullable_array_array" @@ -26833,9 +26833,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestIntegerUint32ArrayArray r.name = "TestRequestIntegerUint32ArrayArray" r.summary = "" r.operationID = "test_request_integer_uint32_array_array" @@ -26907,9 +26907,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestIntegerUint32NullableArrayArray r.name = "TestRequestIntegerUint32NullableArrayArray" r.summary = "" r.operationID = "test_request_integer_uint32_nullable_array_array" @@ -27002,9 +27002,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestIntegerUint64ArrayArray r.name = "TestRequestIntegerUint64ArrayArray" r.summary = "" r.operationID = "test_request_integer_uint64_array_array" @@ -27076,9 +27076,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestIntegerUint64NullableArrayArray r.name = "TestRequestIntegerUint64NullableArrayArray" r.summary = "" r.operationID = "test_request_integer_uint64_nullable_array_array" @@ -27171,9 +27171,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestIntegerUint8ArrayArray r.name = "TestRequestIntegerUint8ArrayArray" r.summary = "" r.operationID = "test_request_integer_uint8_array_array" @@ -27245,9 +27245,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestIntegerUint8NullableArrayArray r.name = "TestRequestIntegerUint8NullableArrayArray" r.summary = "" r.operationID = "test_request_integer_uint8_nullable_array_array" @@ -27317,9 +27317,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestIntegerUintArrayArray r.name = "TestRequestIntegerUintArrayArray" r.summary = "" r.operationID = "test_request_integer_uint_array_array" @@ -27391,9 +27391,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestIntegerUintNullableArrayArray r.name = "TestRequestIntegerUintNullableArrayArray" r.summary = "" r.operationID = "test_request_integer_uint_nullable_array_array" @@ -27533,9 +27533,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestIntegerUnixMicroArrayArray r.name = "TestRequestIntegerUnixMicroArrayArray" r.summary = "" r.operationID = "test_request_integer_unix-micro_array_array" @@ -27607,9 +27607,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestIntegerUnixMicroNullableArrayArray r.name = "TestRequestIntegerUnixMicroNullableArrayArray" r.summary = "" r.operationID = "test_request_integer_unix-micro_nullable_array_array" @@ -27702,9 +27702,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestIntegerUnixMilliArrayArray r.name = "TestRequestIntegerUnixMilliArrayArray" r.summary = "" r.operationID = "test_request_integer_unix-milli_array_array" @@ -27776,9 +27776,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestIntegerUnixMilliNullableArrayArray r.name = "TestRequestIntegerUnixMilliNullableArrayArray" r.summary = "" r.operationID = "test_request_integer_unix-milli_nullable_array_array" @@ -27874,9 +27874,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestIntegerUnixNanoArrayArray r.name = "TestRequestIntegerUnixNanoArrayArray" r.summary = "" r.operationID = "test_request_integer_unix-nano_array_array" @@ -27948,9 +27948,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestIntegerUnixNanoNullableArrayArray r.name = "TestRequestIntegerUnixNanoNullableArrayArray" r.summary = "" r.operationID = "test_request_integer_unix-nano_nullable_array_array" @@ -28043,9 +28043,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestIntegerUnixSecondsArrayArray r.name = "TestRequestIntegerUnixSecondsArrayArray" r.summary = "" r.operationID = "test_request_integer_unix-seconds_array_array" @@ -28117,9 +28117,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestIntegerUnixSecondsNullableArrayArray r.name = "TestRequestIntegerUnixSecondsNullableArrayArray" r.summary = "" r.operationID = "test_request_integer_unix-seconds_nullable_array_array" @@ -28192,9 +28192,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestIntegerUnixArrayArray r.name = "TestRequestIntegerUnixArrayArray" r.summary = "" r.operationID = "test_request_integer_unix_array_array" @@ -28266,9 +28266,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestIntegerUnixNullableArrayArray r.name = "TestRequestIntegerUnixNullableArrayArray" r.summary = "" r.operationID = "test_request_integer_unix_nullable_array_array" @@ -28382,9 +28382,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestNullArrayArray r.name = "TestRequestNullArrayArray" r.summary = "" r.operationID = "test_request_null_array_array" @@ -28456,9 +28456,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestNullNullableArrayArray r.name = "TestRequestNullNullableArrayArray" r.summary = "" r.operationID = "test_request_null_nullable_array_array" @@ -28551,9 +28551,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestNumberArrayArray r.name = "TestRequestNumberArrayArray" r.summary = "" r.operationID = "test_request_number_array_array" @@ -28637,9 +28637,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestNumberDoubleArrayArray r.name = "TestRequestNumberDoubleArrayArray" r.summary = "" r.operationID = "test_request_number_double_array_array" @@ -28711,9 +28711,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestNumberDoubleNullableArrayArray r.name = "TestRequestNumberDoubleNullableArrayArray" r.summary = "" r.operationID = "test_request_number_double_nullable_array_array" @@ -28806,9 +28806,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestNumberFloatArrayArray r.name = "TestRequestNumberFloatArrayArray" r.summary = "" r.operationID = "test_request_number_float_array_array" @@ -28880,9 +28880,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestNumberFloatNullableArrayArray r.name = "TestRequestNumberFloatNullableArrayArray" r.summary = "" r.operationID = "test_request_number_float_nullable_array_array" @@ -28987,9 +28987,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestNumberInt32ArrayArray r.name = "TestRequestNumberInt32ArrayArray" r.summary = "" r.operationID = "test_request_number_int32_array_array" @@ -29061,9 +29061,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestNumberInt32NullableArrayArray r.name = "TestRequestNumberInt32NullableArrayArray" r.summary = "" r.operationID = "test_request_number_int32_nullable_array_array" @@ -29156,9 +29156,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestNumberInt64ArrayArray r.name = "TestRequestNumberInt64ArrayArray" r.summary = "" r.operationID = "test_request_number_int64_array_array" @@ -29230,9 +29230,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestNumberInt64NullableArrayArray r.name = "TestRequestNumberInt64NullableArrayArray" r.summary = "" r.operationID = "test_request_number_int64_nullable_array_array" @@ -29316,9 +29316,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestNumberNullableArrayArray r.name = "TestRequestNumberNullableArrayArray" r.summary = "" r.operationID = "test_request_number_nullable_array_array" @@ -29368,9 +29368,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestRequiredAny r.name = "TestRequestRequiredAny" r.summary = "" r.operationID = "test_request_required_Any" @@ -29393,9 +29393,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestRequiredEmptyStruct r.name = "TestRequestRequiredEmptyStruct" r.summary = "" r.operationID = "test_request_required_EmptyStruct" @@ -29418,9 +29418,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestRequiredFormatTest r.name = "TestRequestRequiredFormatTest" r.summary = "" r.operationID = "test_request_required_FormatTest" @@ -29501,9 +29501,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestRequiredBooleanArrayArray r.name = "TestRequestRequiredBooleanArrayArray" r.summary = "" r.operationID = "test_request_required_boolean_array_array" @@ -29575,9 +29575,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestRequiredBooleanNullableArrayArray r.name = "TestRequestRequiredBooleanNullableArrayArray" r.summary = "" r.operationID = "test_request_required_boolean_nullable_array_array" @@ -29670,9 +29670,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestRequiredIntegerArrayArray r.name = "TestRequestRequiredIntegerArrayArray" r.summary = "" r.operationID = "test_request_required_integer_array_array" @@ -29768,9 +29768,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestRequiredIntegerInt16ArrayArray r.name = "TestRequestRequiredIntegerInt16ArrayArray" r.summary = "" r.operationID = "test_request_required_integer_int16_array_array" @@ -29842,9 +29842,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestRequiredIntegerInt16NullableArrayArray r.name = "TestRequestRequiredIntegerInt16NullableArrayArray" r.summary = "" r.operationID = "test_request_required_integer_int16_nullable_array_array" @@ -29937,9 +29937,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestRequiredIntegerInt32ArrayArray r.name = "TestRequestRequiredIntegerInt32ArrayArray" r.summary = "" r.operationID = "test_request_required_integer_int32_array_array" @@ -30011,9 +30011,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestRequiredIntegerInt32NullableArrayArray r.name = "TestRequestRequiredIntegerInt32NullableArrayArray" r.summary = "" r.operationID = "test_request_required_integer_int32_nullable_array_array" @@ -30106,9 +30106,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestRequiredIntegerInt64ArrayArray r.name = "TestRequestRequiredIntegerInt64ArrayArray" r.summary = "" r.operationID = "test_request_required_integer_int64_array_array" @@ -30180,9 +30180,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestRequiredIntegerInt64NullableArrayArray r.name = "TestRequestRequiredIntegerInt64NullableArrayArray" r.summary = "" r.operationID = "test_request_required_integer_int64_nullable_array_array" @@ -30275,9 +30275,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestRequiredIntegerInt8ArrayArray r.name = "TestRequestRequiredIntegerInt8ArrayArray" r.summary = "" r.operationID = "test_request_required_integer_int8_array_array" @@ -30349,9 +30349,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestRequiredIntegerInt8NullableArrayArray r.name = "TestRequestRequiredIntegerInt8NullableArrayArray" r.summary = "" r.operationID = "test_request_required_integer_int8_nullable_array_array" @@ -30435,9 +30435,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestRequiredIntegerNullableArrayArray r.name = "TestRequestRequiredIntegerNullableArrayArray" r.summary = "" r.operationID = "test_request_required_integer_nullable_array_array" @@ -30559,9 +30559,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestRequiredIntegerUint16ArrayArray r.name = "TestRequestRequiredIntegerUint16ArrayArray" r.summary = "" r.operationID = "test_request_required_integer_uint16_array_array" @@ -30633,9 +30633,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestRequiredIntegerUint16NullableArrayArray r.name = "TestRequestRequiredIntegerUint16NullableArrayArray" r.summary = "" r.operationID = "test_request_required_integer_uint16_nullable_array_array" @@ -30728,9 +30728,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestRequiredIntegerUint32ArrayArray r.name = "TestRequestRequiredIntegerUint32ArrayArray" r.summary = "" r.operationID = "test_request_required_integer_uint32_array_array" @@ -30802,9 +30802,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestRequiredIntegerUint32NullableArrayArray r.name = "TestRequestRequiredIntegerUint32NullableArrayArray" r.summary = "" r.operationID = "test_request_required_integer_uint32_nullable_array_array" @@ -30897,9 +30897,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestRequiredIntegerUint64ArrayArray r.name = "TestRequestRequiredIntegerUint64ArrayArray" r.summary = "" r.operationID = "test_request_required_integer_uint64_array_array" @@ -30971,9 +30971,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestRequiredIntegerUint64NullableArrayArray r.name = "TestRequestRequiredIntegerUint64NullableArrayArray" r.summary = "" r.operationID = "test_request_required_integer_uint64_nullable_array_array" @@ -31066,9 +31066,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestRequiredIntegerUint8ArrayArray r.name = "TestRequestRequiredIntegerUint8ArrayArray" r.summary = "" r.operationID = "test_request_required_integer_uint8_array_array" @@ -31140,9 +31140,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestRequiredIntegerUint8NullableArrayArray r.name = "TestRequestRequiredIntegerUint8NullableArrayArray" r.summary = "" r.operationID = "test_request_required_integer_uint8_nullable_array_array" @@ -31212,9 +31212,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestRequiredIntegerUintArrayArray r.name = "TestRequestRequiredIntegerUintArrayArray" r.summary = "" r.operationID = "test_request_required_integer_uint_array_array" @@ -31286,9 +31286,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestRequiredIntegerUintNullableArrayArray r.name = "TestRequestRequiredIntegerUintNullableArrayArray" r.summary = "" r.operationID = "test_request_required_integer_uint_nullable_array_array" @@ -31428,9 +31428,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestRequiredIntegerUnixMicroArrayArray r.name = "TestRequestRequiredIntegerUnixMicroArrayArray" r.summary = "" r.operationID = "test_request_required_integer_unix-micro_array_array" @@ -31502,9 +31502,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestRequiredIntegerUnixMicroNullableArrayArray r.name = "TestRequestRequiredIntegerUnixMicroNullableArrayArray" r.summary = "" r.operationID = "test_request_required_integer_unix-micro_nullable_array_array" @@ -31597,9 +31597,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestRequiredIntegerUnixMilliArrayArray r.name = "TestRequestRequiredIntegerUnixMilliArrayArray" r.summary = "" r.operationID = "test_request_required_integer_unix-milli_array_array" @@ -31671,9 +31671,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestRequiredIntegerUnixMilliNullableArrayArray r.name = "TestRequestRequiredIntegerUnixMilliNullableArrayArray" r.summary = "" r.operationID = "test_request_required_integer_unix-milli_nullable_array_array" @@ -31769,9 +31769,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestRequiredIntegerUnixNanoArrayArray r.name = "TestRequestRequiredIntegerUnixNanoArrayArray" r.summary = "" r.operationID = "test_request_required_integer_unix-nano_array_array" @@ -31843,9 +31843,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestRequiredIntegerUnixNanoNullableArrayArray r.name = "TestRequestRequiredIntegerUnixNanoNullableArrayArray" r.summary = "" r.operationID = "test_request_required_integer_unix-nano_nullable_array_array" @@ -31938,9 +31938,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestRequiredIntegerUnixSecondsArrayArray r.name = "TestRequestRequiredIntegerUnixSecondsArrayArray" r.summary = "" r.operationID = "test_request_required_integer_unix-seconds_array_array" @@ -32012,9 +32012,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestRequiredIntegerUnixSecondsNullableArrayArray r.name = "TestRequestRequiredIntegerUnixSecondsNullableArrayArray" r.summary = "" r.operationID = "test_request_required_integer_unix-seconds_nullable_array_array" @@ -32087,9 +32087,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestRequiredIntegerUnixArrayArray r.name = "TestRequestRequiredIntegerUnixArrayArray" r.summary = "" r.operationID = "test_request_required_integer_unix_array_array" @@ -32161,9 +32161,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestRequiredIntegerUnixNullableArrayArray r.name = "TestRequestRequiredIntegerUnixNullableArrayArray" r.summary = "" r.operationID = "test_request_required_integer_unix_nullable_array_array" @@ -32277,9 +32277,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestRequiredNullArrayArray r.name = "TestRequestRequiredNullArrayArray" r.summary = "" r.operationID = "test_request_required_null_array_array" @@ -32351,9 +32351,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestRequiredNullNullableArrayArray r.name = "TestRequestRequiredNullNullableArrayArray" r.summary = "" r.operationID = "test_request_required_null_nullable_array_array" @@ -32446,9 +32446,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestRequiredNumberArrayArray r.name = "TestRequestRequiredNumberArrayArray" r.summary = "" r.operationID = "test_request_required_number_array_array" @@ -32532,9 +32532,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestRequiredNumberDoubleArrayArray r.name = "TestRequestRequiredNumberDoubleArrayArray" r.summary = "" r.operationID = "test_request_required_number_double_array_array" @@ -32606,9 +32606,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestRequiredNumberDoubleNullableArrayArray r.name = "TestRequestRequiredNumberDoubleNullableArrayArray" r.summary = "" r.operationID = "test_request_required_number_double_nullable_array_array" @@ -32701,9 +32701,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestRequiredNumberFloatArrayArray r.name = "TestRequestRequiredNumberFloatArrayArray" r.summary = "" r.operationID = "test_request_required_number_float_array_array" @@ -32775,9 +32775,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestRequiredNumberFloatNullableArrayArray r.name = "TestRequestRequiredNumberFloatNullableArrayArray" r.summary = "" r.operationID = "test_request_required_number_float_nullable_array_array" @@ -32882,9 +32882,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestRequiredNumberInt32ArrayArray r.name = "TestRequestRequiredNumberInt32ArrayArray" r.summary = "" r.operationID = "test_request_required_number_int32_array_array" @@ -32956,9 +32956,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestRequiredNumberInt32NullableArrayArray r.name = "TestRequestRequiredNumberInt32NullableArrayArray" r.summary = "" r.operationID = "test_request_required_number_int32_nullable_array_array" @@ -33051,9 +33051,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestRequiredNumberInt64ArrayArray r.name = "TestRequestRequiredNumberInt64ArrayArray" r.summary = "" r.operationID = "test_request_required_number_int64_array_array" @@ -33125,9 +33125,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestRequiredNumberInt64NullableArrayArray r.name = "TestRequestRequiredNumberInt64NullableArrayArray" r.summary = "" r.operationID = "test_request_required_number_int64_nullable_array_array" @@ -33211,9 +33211,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestRequiredNumberNullableArrayArray r.name = "TestRequestRequiredNumberNullableArrayArray" r.summary = "" r.operationID = "test_request_required_number_nullable_array_array" @@ -33309,9 +33309,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestRequiredStringArrayArray r.name = "TestRequestRequiredStringArrayArray" r.summary = "" r.operationID = "test_request_required_string_array_array" @@ -33407,9 +33407,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestRequiredStringBase64ArrayArray r.name = "TestRequestRequiredStringBase64ArrayArray" r.summary = "" r.operationID = "test_request_required_string_base64_array_array" @@ -33481,9 +33481,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestRequiredStringBase64NullableArrayArray r.name = "TestRequestRequiredStringBase64NullableArrayArray" r.summary = "" r.operationID = "test_request_required_string_base64_nullable_array_array" @@ -33576,9 +33576,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestRequiredStringBinaryArrayArray r.name = "TestRequestRequiredStringBinaryArrayArray" r.summary = "" r.operationID = "test_request_required_string_binary_array_array" @@ -33650,9 +33650,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestRequiredStringBinaryNullableArrayArray r.name = "TestRequestRequiredStringBinaryNullableArrayArray" r.summary = "" r.operationID = "test_request_required_string_binary_nullable_array_array" @@ -33745,9 +33745,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestRequiredStringByteArrayArray r.name = "TestRequestRequiredStringByteArrayArray" r.summary = "" r.operationID = "test_request_required_string_byte_array_array" @@ -33819,9 +33819,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestRequiredStringByteNullableArrayArray r.name = "TestRequestRequiredStringByteNullableArrayArray" r.summary = "" r.operationID = "test_request_required_string_byte_nullable_array_array" @@ -33952,9 +33952,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestRequiredStringDateTimeArrayArray r.name = "TestRequestRequiredStringDateTimeArrayArray" r.summary = "" r.operationID = "test_request_required_string_date-time_array_array" @@ -34026,9 +34026,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestRequiredStringDateTimeNullableArrayArray r.name = "TestRequestRequiredStringDateTimeNullableArrayArray" r.summary = "" r.operationID = "test_request_required_string_date-time_nullable_array_array" @@ -34098,9 +34098,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestRequiredStringDateArrayArray r.name = "TestRequestRequiredStringDateArrayArray" r.summary = "" r.operationID = "test_request_required_string_date_array_array" @@ -34172,9 +34172,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestRequiredStringDateNullableArrayArray r.name = "TestRequestRequiredStringDateNullableArrayArray" r.summary = "" r.operationID = "test_request_required_string_date_nullable_array_array" @@ -34267,9 +34267,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestRequiredStringDurationArrayArray r.name = "TestRequestRequiredStringDurationArrayArray" r.summary = "" r.operationID = "test_request_required_string_duration_array_array" @@ -34341,9 +34341,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestRequiredStringDurationNullableArrayArray r.name = "TestRequestRequiredStringDurationNullableArrayArray" r.summary = "" r.operationID = "test_request_required_string_duration_nullable_array_array" @@ -34439,9 +34439,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestRequiredStringEmailArrayArray r.name = "TestRequestRequiredStringEmailArrayArray" r.summary = "" r.operationID = "test_request_required_string_email_array_array" @@ -34513,9 +34513,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestRequiredStringEmailNullableArrayArray r.name = "TestRequestRequiredStringEmailNullableArrayArray" r.summary = "" r.operationID = "test_request_required_string_email_nullable_array_array" @@ -34620,9 +34620,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestRequiredStringFloat32ArrayArray r.name = "TestRequestRequiredStringFloat32ArrayArray" r.summary = "" r.operationID = "test_request_required_string_float32_array_array" @@ -34694,9 +34694,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestRequiredStringFloat32NullableArrayArray r.name = "TestRequestRequiredStringFloat32NullableArrayArray" r.summary = "" r.operationID = "test_request_required_string_float32_nullable_array_array" @@ -34789,9 +34789,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestRequiredStringFloat64ArrayArray r.name = "TestRequestRequiredStringFloat64ArrayArray" r.summary = "" r.operationID = "test_request_required_string_float64_array_array" @@ -34863,9 +34863,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestRequiredStringFloat64NullableArrayArray r.name = "TestRequestRequiredStringFloat64NullableArrayArray" r.summary = "" r.operationID = "test_request_required_string_float64_nullable_array_array" @@ -34961,9 +34961,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestRequiredStringHostnameArrayArray r.name = "TestRequestRequiredStringHostnameArrayArray" r.summary = "" r.operationID = "test_request_required_string_hostname_array_array" @@ -35035,9 +35035,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestRequiredStringHostnameNullableArrayArray r.name = "TestRequestRequiredStringHostnameNullableArrayArray" r.summary = "" r.operationID = "test_request_required_string_hostname_nullable_array_array" @@ -35165,9 +35165,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestRequiredStringInt16ArrayArray r.name = "TestRequestRequiredStringInt16ArrayArray" r.summary = "" r.operationID = "test_request_required_string_int16_array_array" @@ -35239,9 +35239,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestRequiredStringInt16NullableArrayArray r.name = "TestRequestRequiredStringInt16NullableArrayArray" r.summary = "" r.operationID = "test_request_required_string_int16_nullable_array_array" @@ -35334,9 +35334,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestRequiredStringInt32ArrayArray r.name = "TestRequestRequiredStringInt32ArrayArray" r.summary = "" r.operationID = "test_request_required_string_int32_array_array" @@ -35408,9 +35408,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestRequiredStringInt32NullableArrayArray r.name = "TestRequestRequiredStringInt32NullableArrayArray" r.summary = "" r.operationID = "test_request_required_string_int32_nullable_array_array" @@ -35503,9 +35503,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestRequiredStringInt64ArrayArray r.name = "TestRequestRequiredStringInt64ArrayArray" r.summary = "" r.operationID = "test_request_required_string_int64_array_array" @@ -35577,9 +35577,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestRequiredStringInt64NullableArrayArray r.name = "TestRequestRequiredStringInt64NullableArrayArray" r.summary = "" r.operationID = "test_request_required_string_int64_nullable_array_array" @@ -35672,9 +35672,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestRequiredStringInt8ArrayArray r.name = "TestRequestRequiredStringInt8ArrayArray" r.summary = "" r.operationID = "test_request_required_string_int8_array_array" @@ -35746,9 +35746,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestRequiredStringInt8NullableArrayArray r.name = "TestRequestRequiredStringInt8NullableArrayArray" r.summary = "" r.operationID = "test_request_required_string_int8_nullable_array_array" @@ -35818,9 +35818,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestRequiredStringIntArrayArray r.name = "TestRequestRequiredStringIntArrayArray" r.summary = "" r.operationID = "test_request_required_string_int_array_array" @@ -35892,9 +35892,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestRequiredStringIntNullableArrayArray r.name = "TestRequestRequiredStringIntNullableArrayArray" r.summary = "" r.operationID = "test_request_required_string_int_nullable_array_array" @@ -35987,9 +35987,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestRequiredStringIPArrayArray r.name = "TestRequestRequiredStringIPArrayArray" r.summary = "" r.operationID = "test_request_required_string_ip_array_array" @@ -36061,9 +36061,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestRequiredStringIPNullableArrayArray r.name = "TestRequestRequiredStringIPNullableArrayArray" r.summary = "" r.operationID = "test_request_required_string_ip_nullable_array_array" @@ -36165,9 +36165,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestRequiredStringIpv4ArrayArray r.name = "TestRequestRequiredStringIpv4ArrayArray" r.summary = "" r.operationID = "test_request_required_string_ipv4_array_array" @@ -36239,9 +36239,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestRequiredStringIpv4NullableArrayArray r.name = "TestRequestRequiredStringIpv4NullableArrayArray" r.summary = "" r.operationID = "test_request_required_string_ipv4_nullable_array_array" @@ -36334,9 +36334,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestRequiredStringIpv6ArrayArray r.name = "TestRequestRequiredStringIpv6ArrayArray" r.summary = "" r.operationID = "test_request_required_string_ipv6_array_array" @@ -36408,9 +36408,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestRequiredStringIpv6NullableArrayArray r.name = "TestRequestRequiredStringIpv6NullableArrayArray" r.summary = "" r.operationID = "test_request_required_string_ipv6_nullable_array_array" @@ -36512,9 +36512,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestRequiredStringMACArrayArray r.name = "TestRequestRequiredStringMACArrayArray" r.summary = "" r.operationID = "test_request_required_string_mac_array_array" @@ -36586,9 +36586,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestRequiredStringMACNullableArrayArray r.name = "TestRequestRequiredStringMACNullableArrayArray" r.summary = "" r.operationID = "test_request_required_string_mac_nullable_array_array" @@ -36669,9 +36669,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestRequiredStringNullableArrayArray r.name = "TestRequestRequiredStringNullableArrayArray" r.summary = "" r.operationID = "test_request_required_string_nullable_array_array" @@ -36758,9 +36758,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestRequiredStringPasswordArrayArray r.name = "TestRequestRequiredStringPasswordArrayArray" r.summary = "" r.operationID = "test_request_required_string_password_array_array" @@ -36832,9 +36832,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestRequiredStringPasswordNullableArrayArray r.name = "TestRequestRequiredStringPasswordNullableArrayArray" r.summary = "" r.operationID = "test_request_required_string_password_nullable_array_array" @@ -36927,9 +36927,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestRequiredStringTimeArrayArray r.name = "TestRequestRequiredStringTimeArrayArray" r.summary = "" r.operationID = "test_request_required_string_time_array_array" @@ -37001,9 +37001,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestRequiredStringTimeNullableArrayArray r.name = "TestRequestRequiredStringTimeNullableArrayArray" r.summary = "" r.operationID = "test_request_required_string_time_nullable_array_array" @@ -37131,9 +37131,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestRequiredStringUint16ArrayArray r.name = "TestRequestRequiredStringUint16ArrayArray" r.summary = "" r.operationID = "test_request_required_string_uint16_array_array" @@ -37205,9 +37205,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestRequiredStringUint16NullableArrayArray r.name = "TestRequestRequiredStringUint16NullableArrayArray" r.summary = "" r.operationID = "test_request_required_string_uint16_nullable_array_array" @@ -37300,9 +37300,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestRequiredStringUint32ArrayArray r.name = "TestRequestRequiredStringUint32ArrayArray" r.summary = "" r.operationID = "test_request_required_string_uint32_array_array" @@ -37374,9 +37374,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestRequiredStringUint32NullableArrayArray r.name = "TestRequestRequiredStringUint32NullableArrayArray" r.summary = "" r.operationID = "test_request_required_string_uint32_nullable_array_array" @@ -37469,9 +37469,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestRequiredStringUint64ArrayArray r.name = "TestRequestRequiredStringUint64ArrayArray" r.summary = "" r.operationID = "test_request_required_string_uint64_array_array" @@ -37543,9 +37543,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestRequiredStringUint64NullableArrayArray r.name = "TestRequestRequiredStringUint64NullableArrayArray" r.summary = "" r.operationID = "test_request_required_string_uint64_nullable_array_array" @@ -37638,9 +37638,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestRequiredStringUint8ArrayArray r.name = "TestRequestRequiredStringUint8ArrayArray" r.summary = "" r.operationID = "test_request_required_string_uint8_array_array" @@ -37712,9 +37712,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestRequiredStringUint8NullableArrayArray r.name = "TestRequestRequiredStringUint8NullableArrayArray" r.summary = "" r.operationID = "test_request_required_string_uint8_nullable_array_array" @@ -37784,9 +37784,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestRequiredStringUintArrayArray r.name = "TestRequestRequiredStringUintArrayArray" r.summary = "" r.operationID = "test_request_required_string_uint_array_array" @@ -37858,9 +37858,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestRequiredStringUintNullableArrayArray r.name = "TestRequestRequiredStringUintNullableArrayArray" r.summary = "" r.operationID = "test_request_required_string_uint_nullable_array_array" @@ -38000,9 +38000,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestRequiredStringUnixMicroArrayArray r.name = "TestRequestRequiredStringUnixMicroArrayArray" r.summary = "" r.operationID = "test_request_required_string_unix-micro_array_array" @@ -38074,9 +38074,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestRequiredStringUnixMicroNullableArrayArray r.name = "TestRequestRequiredStringUnixMicroNullableArrayArray" r.summary = "" r.operationID = "test_request_required_string_unix-micro_nullable_array_array" @@ -38169,9 +38169,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestRequiredStringUnixMilliArrayArray r.name = "TestRequestRequiredStringUnixMilliArrayArray" r.summary = "" r.operationID = "test_request_required_string_unix-milli_array_array" @@ -38243,9 +38243,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestRequiredStringUnixMilliNullableArrayArray r.name = "TestRequestRequiredStringUnixMilliNullableArrayArray" r.summary = "" r.operationID = "test_request_required_string_unix-milli_nullable_array_array" @@ -38341,9 +38341,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestRequiredStringUnixNanoArrayArray r.name = "TestRequestRequiredStringUnixNanoArrayArray" r.summary = "" r.operationID = "test_request_required_string_unix-nano_array_array" @@ -38415,9 +38415,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestRequiredStringUnixNanoNullableArrayArray r.name = "TestRequestRequiredStringUnixNanoNullableArrayArray" r.summary = "" r.operationID = "test_request_required_string_unix-nano_nullable_array_array" @@ -38510,9 +38510,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestRequiredStringUnixSecondsArrayArray r.name = "TestRequestRequiredStringUnixSecondsArrayArray" r.summary = "" r.operationID = "test_request_required_string_unix-seconds_array_array" @@ -38584,9 +38584,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestRequiredStringUnixSecondsNullableArrayArray r.name = "TestRequestRequiredStringUnixSecondsNullableArrayArray" r.summary = "" r.operationID = "test_request_required_string_unix-seconds_nullable_array_array" @@ -38659,9 +38659,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestRequiredStringUnixArrayArray r.name = "TestRequestRequiredStringUnixArrayArray" r.summary = "" r.operationID = "test_request_required_string_unix_array_array" @@ -38733,9 +38733,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestRequiredStringUnixNullableArrayArray r.name = "TestRequestRequiredStringUnixNullableArrayArray" r.summary = "" r.operationID = "test_request_required_string_unix_nullable_array_array" @@ -38828,9 +38828,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestRequiredStringURIArrayArray r.name = "TestRequestRequiredStringURIArrayArray" r.summary = "" r.operationID = "test_request_required_string_uri_array_array" @@ -38902,9 +38902,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestRequiredStringURINullableArrayArray r.name = "TestRequestRequiredStringURINullableArrayArray" r.summary = "" r.operationID = "test_request_required_string_uri_nullable_array_array" @@ -38997,9 +38997,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestRequiredStringUUIDArrayArray r.name = "TestRequestRequiredStringUUIDArrayArray" r.summary = "" r.operationID = "test_request_required_string_uuid_array_array" @@ -39071,9 +39071,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestRequiredStringUUIDNullableArrayArray r.name = "TestRequestRequiredStringUUIDNullableArrayArray" r.summary = "" r.operationID = "test_request_required_string_uuid_nullable_array_array" @@ -39178,9 +39178,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestStringArrayArray r.name = "TestRequestStringArrayArray" r.summary = "" r.operationID = "test_request_string_array_array" @@ -39276,9 +39276,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestStringBase64ArrayArray r.name = "TestRequestStringBase64ArrayArray" r.summary = "" r.operationID = "test_request_string_base64_array_array" @@ -39350,9 +39350,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestStringBase64NullableArrayArray r.name = "TestRequestStringBase64NullableArrayArray" r.summary = "" r.operationID = "test_request_string_base64_nullable_array_array" @@ -39445,9 +39445,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestStringBinaryArrayArray r.name = "TestRequestStringBinaryArrayArray" r.summary = "" r.operationID = "test_request_string_binary_array_array" @@ -39519,9 +39519,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestStringBinaryNullableArrayArray r.name = "TestRequestStringBinaryNullableArrayArray" r.summary = "" r.operationID = "test_request_string_binary_nullable_array_array" @@ -39614,9 +39614,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestStringByteArrayArray r.name = "TestRequestStringByteArrayArray" r.summary = "" r.operationID = "test_request_string_byte_array_array" @@ -39688,9 +39688,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestStringByteNullableArrayArray r.name = "TestRequestStringByteNullableArrayArray" r.summary = "" r.operationID = "test_request_string_byte_nullable_array_array" @@ -39821,9 +39821,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestStringDateTimeArrayArray r.name = "TestRequestStringDateTimeArrayArray" r.summary = "" r.operationID = "test_request_string_date-time_array_array" @@ -39895,9 +39895,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestStringDateTimeNullableArrayArray r.name = "TestRequestStringDateTimeNullableArrayArray" r.summary = "" r.operationID = "test_request_string_date-time_nullable_array_array" @@ -39967,9 +39967,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestStringDateArrayArray r.name = "TestRequestStringDateArrayArray" r.summary = "" r.operationID = "test_request_string_date_array_array" @@ -40041,9 +40041,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestStringDateNullableArrayArray r.name = "TestRequestStringDateNullableArrayArray" r.summary = "" r.operationID = "test_request_string_date_nullable_array_array" @@ -40136,9 +40136,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestStringDurationArrayArray r.name = "TestRequestStringDurationArrayArray" r.summary = "" r.operationID = "test_request_string_duration_array_array" @@ -40210,9 +40210,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestStringDurationNullableArrayArray r.name = "TestRequestStringDurationNullableArrayArray" r.summary = "" r.operationID = "test_request_string_duration_nullable_array_array" @@ -40308,9 +40308,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestStringEmailArrayArray r.name = "TestRequestStringEmailArrayArray" r.summary = "" r.operationID = "test_request_string_email_array_array" @@ -40382,9 +40382,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestStringEmailNullableArrayArray r.name = "TestRequestStringEmailNullableArrayArray" r.summary = "" r.operationID = "test_request_string_email_nullable_array_array" @@ -40489,9 +40489,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestStringFloat32ArrayArray r.name = "TestRequestStringFloat32ArrayArray" r.summary = "" r.operationID = "test_request_string_float32_array_array" @@ -40563,9 +40563,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestStringFloat32NullableArrayArray r.name = "TestRequestStringFloat32NullableArrayArray" r.summary = "" r.operationID = "test_request_string_float32_nullable_array_array" @@ -40658,9 +40658,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestStringFloat64ArrayArray r.name = "TestRequestStringFloat64ArrayArray" r.summary = "" r.operationID = "test_request_string_float64_array_array" @@ -40732,9 +40732,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestStringFloat64NullableArrayArray r.name = "TestRequestStringFloat64NullableArrayArray" r.summary = "" r.operationID = "test_request_string_float64_nullable_array_array" @@ -40830,9 +40830,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestStringHostnameArrayArray r.name = "TestRequestStringHostnameArrayArray" r.summary = "" r.operationID = "test_request_string_hostname_array_array" @@ -40904,9 +40904,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestStringHostnameNullableArrayArray r.name = "TestRequestStringHostnameNullableArrayArray" r.summary = "" r.operationID = "test_request_string_hostname_nullable_array_array" @@ -41034,9 +41034,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestStringInt16ArrayArray r.name = "TestRequestStringInt16ArrayArray" r.summary = "" r.operationID = "test_request_string_int16_array_array" @@ -41108,9 +41108,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestStringInt16NullableArrayArray r.name = "TestRequestStringInt16NullableArrayArray" r.summary = "" r.operationID = "test_request_string_int16_nullable_array_array" @@ -41203,9 +41203,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestStringInt32ArrayArray r.name = "TestRequestStringInt32ArrayArray" r.summary = "" r.operationID = "test_request_string_int32_array_array" @@ -41277,9 +41277,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestStringInt32NullableArrayArray r.name = "TestRequestStringInt32NullableArrayArray" r.summary = "" r.operationID = "test_request_string_int32_nullable_array_array" @@ -41372,9 +41372,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestStringInt64ArrayArray r.name = "TestRequestStringInt64ArrayArray" r.summary = "" r.operationID = "test_request_string_int64_array_array" @@ -41446,9 +41446,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestStringInt64NullableArrayArray r.name = "TestRequestStringInt64NullableArrayArray" r.summary = "" r.operationID = "test_request_string_int64_nullable_array_array" @@ -41541,9 +41541,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestStringInt8ArrayArray r.name = "TestRequestStringInt8ArrayArray" r.summary = "" r.operationID = "test_request_string_int8_array_array" @@ -41615,9 +41615,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestStringInt8NullableArrayArray r.name = "TestRequestStringInt8NullableArrayArray" r.summary = "" r.operationID = "test_request_string_int8_nullable_array_array" @@ -41687,9 +41687,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestStringIntArrayArray r.name = "TestRequestStringIntArrayArray" r.summary = "" r.operationID = "test_request_string_int_array_array" @@ -41761,9 +41761,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestStringIntNullableArrayArray r.name = "TestRequestStringIntNullableArrayArray" r.summary = "" r.operationID = "test_request_string_int_nullable_array_array" @@ -41856,9 +41856,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestStringIPArrayArray r.name = "TestRequestStringIPArrayArray" r.summary = "" r.operationID = "test_request_string_ip_array_array" @@ -41930,9 +41930,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestStringIPNullableArrayArray r.name = "TestRequestStringIPNullableArrayArray" r.summary = "" r.operationID = "test_request_string_ip_nullable_array_array" @@ -42034,9 +42034,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestStringIpv4ArrayArray r.name = "TestRequestStringIpv4ArrayArray" r.summary = "" r.operationID = "test_request_string_ipv4_array_array" @@ -42108,9 +42108,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestStringIpv4NullableArrayArray r.name = "TestRequestStringIpv4NullableArrayArray" r.summary = "" r.operationID = "test_request_string_ipv4_nullable_array_array" @@ -42203,9 +42203,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestStringIpv6ArrayArray r.name = "TestRequestStringIpv6ArrayArray" r.summary = "" r.operationID = "test_request_string_ipv6_array_array" @@ -42277,9 +42277,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestStringIpv6NullableArrayArray r.name = "TestRequestStringIpv6NullableArrayArray" r.summary = "" r.operationID = "test_request_string_ipv6_nullable_array_array" @@ -42381,9 +42381,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestStringMACArrayArray r.name = "TestRequestStringMACArrayArray" r.summary = "" r.operationID = "test_request_string_mac_array_array" @@ -42455,9 +42455,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestStringMACNullableArrayArray r.name = "TestRequestStringMACNullableArrayArray" r.summary = "" r.operationID = "test_request_string_mac_nullable_array_array" @@ -42538,9 +42538,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestStringNullableArrayArray r.name = "TestRequestStringNullableArrayArray" r.summary = "" r.operationID = "test_request_string_nullable_array_array" @@ -42627,9 +42627,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestStringPasswordArrayArray r.name = "TestRequestStringPasswordArrayArray" r.summary = "" r.operationID = "test_request_string_password_array_array" @@ -42701,9 +42701,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestStringPasswordNullableArrayArray r.name = "TestRequestStringPasswordNullableArrayArray" r.summary = "" r.operationID = "test_request_string_password_nullable_array_array" @@ -42796,9 +42796,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestStringTimeArrayArray r.name = "TestRequestStringTimeArrayArray" r.summary = "" r.operationID = "test_request_string_time_array_array" @@ -42870,9 +42870,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestStringTimeNullableArrayArray r.name = "TestRequestStringTimeNullableArrayArray" r.summary = "" r.operationID = "test_request_string_time_nullable_array_array" @@ -43000,9 +43000,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestStringUint16ArrayArray r.name = "TestRequestStringUint16ArrayArray" r.summary = "" r.operationID = "test_request_string_uint16_array_array" @@ -43074,9 +43074,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestStringUint16NullableArrayArray r.name = "TestRequestStringUint16NullableArrayArray" r.summary = "" r.operationID = "test_request_string_uint16_nullable_array_array" @@ -43169,9 +43169,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestStringUint32ArrayArray r.name = "TestRequestStringUint32ArrayArray" r.summary = "" r.operationID = "test_request_string_uint32_array_array" @@ -43243,9 +43243,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestStringUint32NullableArrayArray r.name = "TestRequestStringUint32NullableArrayArray" r.summary = "" r.operationID = "test_request_string_uint32_nullable_array_array" @@ -43338,9 +43338,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestStringUint64ArrayArray r.name = "TestRequestStringUint64ArrayArray" r.summary = "" r.operationID = "test_request_string_uint64_array_array" @@ -43412,9 +43412,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestStringUint64NullableArrayArray r.name = "TestRequestStringUint64NullableArrayArray" r.summary = "" r.operationID = "test_request_string_uint64_nullable_array_array" @@ -43507,9 +43507,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestStringUint8ArrayArray r.name = "TestRequestStringUint8ArrayArray" r.summary = "" r.operationID = "test_request_string_uint8_array_array" @@ -43581,9 +43581,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestStringUint8NullableArrayArray r.name = "TestRequestStringUint8NullableArrayArray" r.summary = "" r.operationID = "test_request_string_uint8_nullable_array_array" @@ -43653,9 +43653,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestStringUintArrayArray r.name = "TestRequestStringUintArrayArray" r.summary = "" r.operationID = "test_request_string_uint_array_array" @@ -43727,9 +43727,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestStringUintNullableArrayArray r.name = "TestRequestStringUintNullableArrayArray" r.summary = "" r.operationID = "test_request_string_uint_nullable_array_array" @@ -43869,9 +43869,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestStringUnixMicroArrayArray r.name = "TestRequestStringUnixMicroArrayArray" r.summary = "" r.operationID = "test_request_string_unix-micro_array_array" @@ -43943,9 +43943,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestStringUnixMicroNullableArrayArray r.name = "TestRequestStringUnixMicroNullableArrayArray" r.summary = "" r.operationID = "test_request_string_unix-micro_nullable_array_array" @@ -44038,9 +44038,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestStringUnixMilliArrayArray r.name = "TestRequestStringUnixMilliArrayArray" r.summary = "" r.operationID = "test_request_string_unix-milli_array_array" @@ -44112,9 +44112,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestStringUnixMilliNullableArrayArray r.name = "TestRequestStringUnixMilliNullableArrayArray" r.summary = "" r.operationID = "test_request_string_unix-milli_nullable_array_array" @@ -44210,9 +44210,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestStringUnixNanoArrayArray r.name = "TestRequestStringUnixNanoArrayArray" r.summary = "" r.operationID = "test_request_string_unix-nano_array_array" @@ -44284,9 +44284,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestStringUnixNanoNullableArrayArray r.name = "TestRequestStringUnixNanoNullableArrayArray" r.summary = "" r.operationID = "test_request_string_unix-nano_nullable_array_array" @@ -44379,9 +44379,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestStringUnixSecondsArrayArray r.name = "TestRequestStringUnixSecondsArrayArray" r.summary = "" r.operationID = "test_request_string_unix-seconds_array_array" @@ -44453,9 +44453,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestStringUnixSecondsNullableArrayArray r.name = "TestRequestStringUnixSecondsNullableArrayArray" r.summary = "" r.operationID = "test_request_string_unix-seconds_nullable_array_array" @@ -44528,9 +44528,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestStringUnixArrayArray r.name = "TestRequestStringUnixArrayArray" r.summary = "" r.operationID = "test_request_string_unix_array_array" @@ -44602,9 +44602,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestStringUnixNullableArrayArray r.name = "TestRequestStringUnixNullableArrayArray" r.summary = "" r.operationID = "test_request_string_unix_nullable_array_array" @@ -44697,9 +44697,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestStringURIArrayArray r.name = "TestRequestStringURIArrayArray" r.summary = "" r.operationID = "test_request_string_uri_array_array" @@ -44771,9 +44771,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestStringURINullableArrayArray r.name = "TestRequestStringURINullableArrayArray" r.summary = "" r.operationID = "test_request_string_uri_nullable_array_array" @@ -44866,9 +44866,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestStringUUIDArrayArray r.name = "TestRequestStringUUIDArrayArray" r.summary = "" r.operationID = "test_request_string_uuid_array_array" @@ -44940,9 +44940,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestRequestStringUUIDNullableArrayArray r.name = "TestRequestStringUUIDNullableArrayArray" r.summary = "" r.operationID = "test_request_string_uuid_nullable_array_array" @@ -45001,9 +45001,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestResponseAny r.name = "TestResponseAny" r.summary = "" r.operationID = "test_response_Any" @@ -45026,9 +45026,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestResponseEmptyStruct r.name = "TestResponseEmptyStruct" r.summary = "" r.operationID = "test_response_EmptyStruct" @@ -45051,9 +45051,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestResponseFormatTest r.name = "TestResponseFormatTest" r.summary = "" r.operationID = "test_response_FormatTest" @@ -45134,9 +45134,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestResponseBooleanArrayArray r.name = "TestResponseBooleanArrayArray" r.summary = "" r.operationID = "test_response_boolean_array_array" @@ -45208,9 +45208,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestResponseBooleanNullableArrayArray r.name = "TestResponseBooleanNullableArrayArray" r.summary = "" r.operationID = "test_response_boolean_nullable_array_array" @@ -45303,9 +45303,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestResponseIntegerArrayArray r.name = "TestResponseIntegerArrayArray" r.summary = "" r.operationID = "test_response_integer_array_array" @@ -45401,9 +45401,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestResponseIntegerInt16ArrayArray r.name = "TestResponseIntegerInt16ArrayArray" r.summary = "" r.operationID = "test_response_integer_int16_array_array" @@ -45475,9 +45475,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestResponseIntegerInt16NullableArrayArray r.name = "TestResponseIntegerInt16NullableArrayArray" r.summary = "" r.operationID = "test_response_integer_int16_nullable_array_array" @@ -45570,9 +45570,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestResponseIntegerInt32ArrayArray r.name = "TestResponseIntegerInt32ArrayArray" r.summary = "" r.operationID = "test_response_integer_int32_array_array" @@ -45644,9 +45644,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestResponseIntegerInt32NullableArrayArray r.name = "TestResponseIntegerInt32NullableArrayArray" r.summary = "" r.operationID = "test_response_integer_int32_nullable_array_array" @@ -45739,9 +45739,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestResponseIntegerInt64ArrayArray r.name = "TestResponseIntegerInt64ArrayArray" r.summary = "" r.operationID = "test_response_integer_int64_array_array" @@ -45813,9 +45813,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestResponseIntegerInt64NullableArrayArray r.name = "TestResponseIntegerInt64NullableArrayArray" r.summary = "" r.operationID = "test_response_integer_int64_nullable_array_array" @@ -45908,9 +45908,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestResponseIntegerInt8ArrayArray r.name = "TestResponseIntegerInt8ArrayArray" r.summary = "" r.operationID = "test_response_integer_int8_array_array" @@ -45982,9 +45982,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestResponseIntegerInt8NullableArrayArray r.name = "TestResponseIntegerInt8NullableArrayArray" r.summary = "" r.operationID = "test_response_integer_int8_nullable_array_array" @@ -46068,9 +46068,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestResponseIntegerNullableArrayArray r.name = "TestResponseIntegerNullableArrayArray" r.summary = "" r.operationID = "test_response_integer_nullable_array_array" @@ -46192,9 +46192,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestResponseIntegerUint16ArrayArray r.name = "TestResponseIntegerUint16ArrayArray" r.summary = "" r.operationID = "test_response_integer_uint16_array_array" @@ -46266,9 +46266,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestResponseIntegerUint16NullableArrayArray r.name = "TestResponseIntegerUint16NullableArrayArray" r.summary = "" r.operationID = "test_response_integer_uint16_nullable_array_array" @@ -46361,9 +46361,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestResponseIntegerUint32ArrayArray r.name = "TestResponseIntegerUint32ArrayArray" r.summary = "" r.operationID = "test_response_integer_uint32_array_array" @@ -46435,9 +46435,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestResponseIntegerUint32NullableArrayArray r.name = "TestResponseIntegerUint32NullableArrayArray" r.summary = "" r.operationID = "test_response_integer_uint32_nullable_array_array" @@ -46530,9 +46530,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestResponseIntegerUint64ArrayArray r.name = "TestResponseIntegerUint64ArrayArray" r.summary = "" r.operationID = "test_response_integer_uint64_array_array" @@ -46604,9 +46604,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestResponseIntegerUint64NullableArrayArray r.name = "TestResponseIntegerUint64NullableArrayArray" r.summary = "" r.operationID = "test_response_integer_uint64_nullable_array_array" @@ -46699,9 +46699,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestResponseIntegerUint8ArrayArray r.name = "TestResponseIntegerUint8ArrayArray" r.summary = "" r.operationID = "test_response_integer_uint8_array_array" @@ -46773,9 +46773,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestResponseIntegerUint8NullableArrayArray r.name = "TestResponseIntegerUint8NullableArrayArray" r.summary = "" r.operationID = "test_response_integer_uint8_nullable_array_array" @@ -46845,9 +46845,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestResponseIntegerUintArrayArray r.name = "TestResponseIntegerUintArrayArray" r.summary = "" r.operationID = "test_response_integer_uint_array_array" @@ -46919,9 +46919,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestResponseIntegerUintNullableArrayArray r.name = "TestResponseIntegerUintNullableArrayArray" r.summary = "" r.operationID = "test_response_integer_uint_nullable_array_array" @@ -47061,9 +47061,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestResponseIntegerUnixMicroArrayArray r.name = "TestResponseIntegerUnixMicroArrayArray" r.summary = "" r.operationID = "test_response_integer_unix-micro_array_array" @@ -47135,9 +47135,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestResponseIntegerUnixMicroNullableArrayArray r.name = "TestResponseIntegerUnixMicroNullableArrayArray" r.summary = "" r.operationID = "test_response_integer_unix-micro_nullable_array_array" @@ -47230,9 +47230,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestResponseIntegerUnixMilliArrayArray r.name = "TestResponseIntegerUnixMilliArrayArray" r.summary = "" r.operationID = "test_response_integer_unix-milli_array_array" @@ -47304,9 +47304,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestResponseIntegerUnixMilliNullableArrayArray r.name = "TestResponseIntegerUnixMilliNullableArrayArray" r.summary = "" r.operationID = "test_response_integer_unix-milli_nullable_array_array" @@ -47402,9 +47402,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestResponseIntegerUnixNanoArrayArray r.name = "TestResponseIntegerUnixNanoArrayArray" r.summary = "" r.operationID = "test_response_integer_unix-nano_array_array" @@ -47476,9 +47476,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestResponseIntegerUnixNanoNullableArrayArray r.name = "TestResponseIntegerUnixNanoNullableArrayArray" r.summary = "" r.operationID = "test_response_integer_unix-nano_nullable_array_array" @@ -47571,9 +47571,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestResponseIntegerUnixSecondsArrayArray r.name = "TestResponseIntegerUnixSecondsArrayArray" r.summary = "" r.operationID = "test_response_integer_unix-seconds_array_array" @@ -47645,9 +47645,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestResponseIntegerUnixSecondsNullableArrayArray r.name = "TestResponseIntegerUnixSecondsNullableArrayArray" r.summary = "" r.operationID = "test_response_integer_unix-seconds_nullable_array_array" @@ -47720,9 +47720,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestResponseIntegerUnixArrayArray r.name = "TestResponseIntegerUnixArrayArray" r.summary = "" r.operationID = "test_response_integer_unix_array_array" @@ -47794,9 +47794,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestResponseIntegerUnixNullableArrayArray r.name = "TestResponseIntegerUnixNullableArrayArray" r.summary = "" r.operationID = "test_response_integer_unix_nullable_array_array" @@ -47910,9 +47910,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestResponseNullArrayArray r.name = "TestResponseNullArrayArray" r.summary = "" r.operationID = "test_response_null_array_array" @@ -47984,9 +47984,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestResponseNullNullableArrayArray r.name = "TestResponseNullNullableArrayArray" r.summary = "" r.operationID = "test_response_null_nullable_array_array" @@ -48079,9 +48079,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestResponseNumberArrayArray r.name = "TestResponseNumberArrayArray" r.summary = "" r.operationID = "test_response_number_array_array" @@ -48165,9 +48165,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestResponseNumberDoubleArrayArray r.name = "TestResponseNumberDoubleArrayArray" r.summary = "" r.operationID = "test_response_number_double_array_array" @@ -48239,9 +48239,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestResponseNumberDoubleNullableArrayArray r.name = "TestResponseNumberDoubleNullableArrayArray" r.summary = "" r.operationID = "test_response_number_double_nullable_array_array" @@ -48334,9 +48334,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestResponseNumberFloatArrayArray r.name = "TestResponseNumberFloatArrayArray" r.summary = "" r.operationID = "test_response_number_float_array_array" @@ -48408,9 +48408,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestResponseNumberFloatNullableArrayArray r.name = "TestResponseNumberFloatNullableArrayArray" r.summary = "" r.operationID = "test_response_number_float_nullable_array_array" @@ -48515,9 +48515,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestResponseNumberInt32ArrayArray r.name = "TestResponseNumberInt32ArrayArray" r.summary = "" r.operationID = "test_response_number_int32_array_array" @@ -48589,9 +48589,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestResponseNumberInt32NullableArrayArray r.name = "TestResponseNumberInt32NullableArrayArray" r.summary = "" r.operationID = "test_response_number_int32_nullable_array_array" @@ -48684,9 +48684,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestResponseNumberInt64ArrayArray r.name = "TestResponseNumberInt64ArrayArray" r.summary = "" r.operationID = "test_response_number_int64_array_array" @@ -48758,9 +48758,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestResponseNumberInt64NullableArrayArray r.name = "TestResponseNumberInt64NullableArrayArray" r.summary = "" r.operationID = "test_response_number_int64_nullable_array_array" @@ -48844,9 +48844,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestResponseNumberNullableArrayArray r.name = "TestResponseNumberNullableArrayArray" r.summary = "" r.operationID = "test_response_number_nullable_array_array" @@ -48942,9 +48942,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestResponseStringArrayArray r.name = "TestResponseStringArrayArray" r.summary = "" r.operationID = "test_response_string_array_array" @@ -49040,9 +49040,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestResponseStringBase64ArrayArray r.name = "TestResponseStringBase64ArrayArray" r.summary = "" r.operationID = "test_response_string_base64_array_array" @@ -49114,9 +49114,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestResponseStringBase64NullableArrayArray r.name = "TestResponseStringBase64NullableArrayArray" r.summary = "" r.operationID = "test_response_string_base64_nullable_array_array" @@ -49209,9 +49209,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestResponseStringBinaryArrayArray r.name = "TestResponseStringBinaryArrayArray" r.summary = "" r.operationID = "test_response_string_binary_array_array" @@ -49283,9 +49283,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestResponseStringBinaryNullableArrayArray r.name = "TestResponseStringBinaryNullableArrayArray" r.summary = "" r.operationID = "test_response_string_binary_nullable_array_array" @@ -49378,9 +49378,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestResponseStringByteArrayArray r.name = "TestResponseStringByteArrayArray" r.summary = "" r.operationID = "test_response_string_byte_array_array" @@ -49452,9 +49452,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestResponseStringByteNullableArrayArray r.name = "TestResponseStringByteNullableArrayArray" r.summary = "" r.operationID = "test_response_string_byte_nullable_array_array" @@ -49585,9 +49585,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestResponseStringDateTimeArrayArray r.name = "TestResponseStringDateTimeArrayArray" r.summary = "" r.operationID = "test_response_string_date-time_array_array" @@ -49659,9 +49659,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestResponseStringDateTimeNullableArrayArray r.name = "TestResponseStringDateTimeNullableArrayArray" r.summary = "" r.operationID = "test_response_string_date-time_nullable_array_array" @@ -49731,9 +49731,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestResponseStringDateArrayArray r.name = "TestResponseStringDateArrayArray" r.summary = "" r.operationID = "test_response_string_date_array_array" @@ -49805,9 +49805,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestResponseStringDateNullableArrayArray r.name = "TestResponseStringDateNullableArrayArray" r.summary = "" r.operationID = "test_response_string_date_nullable_array_array" @@ -49900,9 +49900,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestResponseStringDurationArrayArray r.name = "TestResponseStringDurationArrayArray" r.summary = "" r.operationID = "test_response_string_duration_array_array" @@ -49974,9 +49974,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestResponseStringDurationNullableArrayArray r.name = "TestResponseStringDurationNullableArrayArray" r.summary = "" r.operationID = "test_response_string_duration_nullable_array_array" @@ -50072,9 +50072,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestResponseStringEmailArrayArray r.name = "TestResponseStringEmailArrayArray" r.summary = "" r.operationID = "test_response_string_email_array_array" @@ -50146,9 +50146,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestResponseStringEmailNullableArrayArray r.name = "TestResponseStringEmailNullableArrayArray" r.summary = "" r.operationID = "test_response_string_email_nullable_array_array" @@ -50253,9 +50253,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestResponseStringFloat32ArrayArray r.name = "TestResponseStringFloat32ArrayArray" r.summary = "" r.operationID = "test_response_string_float32_array_array" @@ -50327,9 +50327,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestResponseStringFloat32NullableArrayArray r.name = "TestResponseStringFloat32NullableArrayArray" r.summary = "" r.operationID = "test_response_string_float32_nullable_array_array" @@ -50422,9 +50422,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestResponseStringFloat64ArrayArray r.name = "TestResponseStringFloat64ArrayArray" r.summary = "" r.operationID = "test_response_string_float64_array_array" @@ -50496,9 +50496,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestResponseStringFloat64NullableArrayArray r.name = "TestResponseStringFloat64NullableArrayArray" r.summary = "" r.operationID = "test_response_string_float64_nullable_array_array" @@ -50594,9 +50594,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestResponseStringHostnameArrayArray r.name = "TestResponseStringHostnameArrayArray" r.summary = "" r.operationID = "test_response_string_hostname_array_array" @@ -50668,9 +50668,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestResponseStringHostnameNullableArrayArray r.name = "TestResponseStringHostnameNullableArrayArray" r.summary = "" r.operationID = "test_response_string_hostname_nullable_array_array" @@ -50798,9 +50798,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestResponseStringInt16ArrayArray r.name = "TestResponseStringInt16ArrayArray" r.summary = "" r.operationID = "test_response_string_int16_array_array" @@ -50872,9 +50872,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestResponseStringInt16NullableArrayArray r.name = "TestResponseStringInt16NullableArrayArray" r.summary = "" r.operationID = "test_response_string_int16_nullable_array_array" @@ -50967,9 +50967,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestResponseStringInt32ArrayArray r.name = "TestResponseStringInt32ArrayArray" r.summary = "" r.operationID = "test_response_string_int32_array_array" @@ -51041,9 +51041,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestResponseStringInt32NullableArrayArray r.name = "TestResponseStringInt32NullableArrayArray" r.summary = "" r.operationID = "test_response_string_int32_nullable_array_array" @@ -51136,9 +51136,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestResponseStringInt64ArrayArray r.name = "TestResponseStringInt64ArrayArray" r.summary = "" r.operationID = "test_response_string_int64_array_array" @@ -51210,9 +51210,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestResponseStringInt64NullableArrayArray r.name = "TestResponseStringInt64NullableArrayArray" r.summary = "" r.operationID = "test_response_string_int64_nullable_array_array" @@ -51305,9 +51305,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestResponseStringInt8ArrayArray r.name = "TestResponseStringInt8ArrayArray" r.summary = "" r.operationID = "test_response_string_int8_array_array" @@ -51379,9 +51379,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestResponseStringInt8NullableArrayArray r.name = "TestResponseStringInt8NullableArrayArray" r.summary = "" r.operationID = "test_response_string_int8_nullable_array_array" @@ -51451,9 +51451,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestResponseStringIntArrayArray r.name = "TestResponseStringIntArrayArray" r.summary = "" r.operationID = "test_response_string_int_array_array" @@ -51525,9 +51525,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestResponseStringIntNullableArrayArray r.name = "TestResponseStringIntNullableArrayArray" r.summary = "" r.operationID = "test_response_string_int_nullable_array_array" @@ -51620,9 +51620,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestResponseStringIPArrayArray r.name = "TestResponseStringIPArrayArray" r.summary = "" r.operationID = "test_response_string_ip_array_array" @@ -51694,9 +51694,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestResponseStringIPNullableArrayArray r.name = "TestResponseStringIPNullableArrayArray" r.summary = "" r.operationID = "test_response_string_ip_nullable_array_array" @@ -51798,9 +51798,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestResponseStringIpv4ArrayArray r.name = "TestResponseStringIpv4ArrayArray" r.summary = "" r.operationID = "test_response_string_ipv4_array_array" @@ -51872,9 +51872,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestResponseStringIpv4NullableArrayArray r.name = "TestResponseStringIpv4NullableArrayArray" r.summary = "" r.operationID = "test_response_string_ipv4_nullable_array_array" @@ -51967,9 +51967,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestResponseStringIpv6ArrayArray r.name = "TestResponseStringIpv6ArrayArray" r.summary = "" r.operationID = "test_response_string_ipv6_array_array" @@ -52041,9 +52041,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestResponseStringIpv6NullableArrayArray r.name = "TestResponseStringIpv6NullableArrayArray" r.summary = "" r.operationID = "test_response_string_ipv6_nullable_array_array" @@ -52145,9 +52145,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestResponseStringMACArrayArray r.name = "TestResponseStringMACArrayArray" r.summary = "" r.operationID = "test_response_string_mac_array_array" @@ -52219,9 +52219,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestResponseStringMACNullableArrayArray r.name = "TestResponseStringMACNullableArrayArray" r.summary = "" r.operationID = "test_response_string_mac_nullable_array_array" @@ -52302,9 +52302,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestResponseStringNullableArrayArray r.name = "TestResponseStringNullableArrayArray" r.summary = "" r.operationID = "test_response_string_nullable_array_array" @@ -52391,9 +52391,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestResponseStringPasswordArrayArray r.name = "TestResponseStringPasswordArrayArray" r.summary = "" r.operationID = "test_response_string_password_array_array" @@ -52465,9 +52465,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestResponseStringPasswordNullableArrayArray r.name = "TestResponseStringPasswordNullableArrayArray" r.summary = "" r.operationID = "test_response_string_password_nullable_array_array" @@ -52560,9 +52560,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestResponseStringTimeArrayArray r.name = "TestResponseStringTimeArrayArray" r.summary = "" r.operationID = "test_response_string_time_array_array" @@ -52634,9 +52634,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestResponseStringTimeNullableArrayArray r.name = "TestResponseStringTimeNullableArrayArray" r.summary = "" r.operationID = "test_response_string_time_nullable_array_array" @@ -52764,9 +52764,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestResponseStringUint16ArrayArray r.name = "TestResponseStringUint16ArrayArray" r.summary = "" r.operationID = "test_response_string_uint16_array_array" @@ -52838,9 +52838,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestResponseStringUint16NullableArrayArray r.name = "TestResponseStringUint16NullableArrayArray" r.summary = "" r.operationID = "test_response_string_uint16_nullable_array_array" @@ -52933,9 +52933,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestResponseStringUint32ArrayArray r.name = "TestResponseStringUint32ArrayArray" r.summary = "" r.operationID = "test_response_string_uint32_array_array" @@ -53007,9 +53007,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestResponseStringUint32NullableArrayArray r.name = "TestResponseStringUint32NullableArrayArray" r.summary = "" r.operationID = "test_response_string_uint32_nullable_array_array" @@ -53102,9 +53102,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestResponseStringUint64ArrayArray r.name = "TestResponseStringUint64ArrayArray" r.summary = "" r.operationID = "test_response_string_uint64_array_array" @@ -53176,9 +53176,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestResponseStringUint64NullableArrayArray r.name = "TestResponseStringUint64NullableArrayArray" r.summary = "" r.operationID = "test_response_string_uint64_nullable_array_array" @@ -53271,9 +53271,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestResponseStringUint8ArrayArray r.name = "TestResponseStringUint8ArrayArray" r.summary = "" r.operationID = "test_response_string_uint8_array_array" @@ -53345,9 +53345,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestResponseStringUint8NullableArrayArray r.name = "TestResponseStringUint8NullableArrayArray" r.summary = "" r.operationID = "test_response_string_uint8_nullable_array_array" @@ -53417,9 +53417,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestResponseStringUintArrayArray r.name = "TestResponseStringUintArrayArray" r.summary = "" r.operationID = "test_response_string_uint_array_array" @@ -53491,9 +53491,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestResponseStringUintNullableArrayArray r.name = "TestResponseStringUintNullableArrayArray" r.summary = "" r.operationID = "test_response_string_uint_nullable_array_array" @@ -53633,9 +53633,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestResponseStringUnixMicroArrayArray r.name = "TestResponseStringUnixMicroArrayArray" r.summary = "" r.operationID = "test_response_string_unix-micro_array_array" @@ -53707,9 +53707,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestResponseStringUnixMicroNullableArrayArray r.name = "TestResponseStringUnixMicroNullableArrayArray" r.summary = "" r.operationID = "test_response_string_unix-micro_nullable_array_array" @@ -53802,9 +53802,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestResponseStringUnixMilliArrayArray r.name = "TestResponseStringUnixMilliArrayArray" r.summary = "" r.operationID = "test_response_string_unix-milli_array_array" @@ -53876,9 +53876,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestResponseStringUnixMilliNullableArrayArray r.name = "TestResponseStringUnixMilliNullableArrayArray" r.summary = "" r.operationID = "test_response_string_unix-milli_nullable_array_array" @@ -53974,9 +53974,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestResponseStringUnixNanoArrayArray r.name = "TestResponseStringUnixNanoArrayArray" r.summary = "" r.operationID = "test_response_string_unix-nano_array_array" @@ -54048,9 +54048,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestResponseStringUnixNanoNullableArrayArray r.name = "TestResponseStringUnixNanoNullableArrayArray" r.summary = "" r.operationID = "test_response_string_unix-nano_nullable_array_array" @@ -54143,9 +54143,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestResponseStringUnixSecondsArrayArray r.name = "TestResponseStringUnixSecondsArrayArray" r.summary = "" r.operationID = "test_response_string_unix-seconds_array_array" @@ -54217,9 +54217,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestResponseStringUnixSecondsNullableArrayArray r.name = "TestResponseStringUnixSecondsNullableArrayArray" r.summary = "" r.operationID = "test_response_string_unix-seconds_nullable_array_array" @@ -54292,9 +54292,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestResponseStringUnixArrayArray r.name = "TestResponseStringUnixArrayArray" r.summary = "" r.operationID = "test_response_string_unix_array_array" @@ -54366,9 +54366,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestResponseStringUnixNullableArrayArray r.name = "TestResponseStringUnixNullableArrayArray" r.summary = "" r.operationID = "test_response_string_unix_nullable_array_array" @@ -54461,9 +54461,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestResponseStringURIArrayArray r.name = "TestResponseStringURIArrayArray" r.summary = "" r.operationID = "test_response_string_uri_array_array" @@ -54535,9 +54535,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestResponseStringURINullableArrayArray r.name = "TestResponseStringURINullableArrayArray" r.summary = "" r.operationID = "test_response_string_uri_nullable_array_array" @@ -54630,9 +54630,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestResponseStringUUIDArrayArray r.name = "TestResponseStringUUIDArrayArray" r.summary = "" r.operationID = "test_response_string_uuid_array_array" @@ -54704,9 +54704,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestResponseStringUUIDNullableArrayArray r.name = "TestResponseStringUUIDNullableArrayArray" r.summary = "" r.operationID = "test_response_string_uuid_nullable_array_array" diff --git a/examples/ex_tinkoff/oas_router_gen.go b/examples/ex_tinkoff/oas_router_gen.go index cc63f78af..14cbfc81b 100644 --- a/examples/ex_tinkoff/oas_router_gen.go +++ b/examples/ex_tinkoff/oas_router_gen.go @@ -754,9 +754,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: MarketBondsGet r.name = "MarketBondsGet" r.summary = "Получение списка облигаций" r.operationID = "" @@ -791,9 +791,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: MarketCandlesGet r.name = "MarketCandlesGet" r.summary = "Получение исторических свечей по FIGI" r.operationID = "" @@ -816,9 +816,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: MarketCurrenciesGet r.name = "MarketCurrenciesGet" r.summary = "Получение списка валютных пар" r.operationID = "" @@ -844,9 +844,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: MarketEtfsGet r.name = "MarketEtfsGet" r.summary = "Получение списка ETF" r.operationID = "" @@ -869,9 +869,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: MarketOrderbookGet r.name = "MarketOrderbookGet" r.summary = "Получение стакана по FIGI" r.operationID = "" @@ -918,9 +918,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: MarketSearchByFigiGet r.name = "MarketSearchByFigiGet" r.summary = "Получение инструмента по FIGI" r.operationID = "" @@ -943,9 +943,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: MarketSearchByTickerGet r.name = "MarketSearchByTickerGet" r.summary = "Получение инструмента по тикеру" r.operationID = "" @@ -971,9 +971,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: MarketStocksGet r.name = "MarketStocksGet" r.summary = "Получение списка акций" r.operationID = "" @@ -1014,9 +1014,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: OperationsGet r.name = "OperationsGet" r.summary = "Получение списка операций" r.operationID = "" @@ -1074,9 +1074,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: OrdersCancelPost r.name = "OrdersCancelPost" r.summary = "Отмена заявки" r.operationID = "" @@ -1099,9 +1099,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: OrdersLimitOrderPost r.name = "OrdersLimitOrderPost" r.summary = "Создание лимитной заявки" r.operationID = "" @@ -1124,9 +1124,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: OrdersMarketOrderPost r.name = "OrdersMarketOrderPost" r.summary = "Создание рыночной заявки" r.operationID = "" @@ -1181,9 +1181,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: PortfolioCurrenciesGet r.name = "PortfolioCurrenciesGet" r.summary = "Получение валютных активов клиента" r.operationID = "" @@ -1233,9 +1233,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: SandboxClearPost r.name = "SandboxClearPost" r.summary = "Удаление всех позиций" r.operationID = "" @@ -1258,9 +1258,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: SandboxCurrenciesBalancePost r.name = "SandboxCurrenciesBalancePost" r.summary = "Выставление баланса по валютным позициям" r.operationID = "" @@ -1286,9 +1286,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: SandboxPositionsBalancePost r.name = "SandboxPositionsBalancePost" r.summary = "Выставление баланса по инструментным позициям" r.operationID = "" @@ -1323,9 +1323,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: SandboxRegisterPost r.name = "SandboxRegisterPost" r.summary = "Регистрация клиента в sandbox" r.operationID = "" @@ -1348,9 +1348,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: SandboxRemovePost r.name = "SandboxRemovePost" r.summary = "Удаление счета" r.operationID = "" @@ -1379,9 +1379,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: UserAccountsGet r.name = "UserAccountsGet" r.summary = "Получение брокерских счетов клиента" r.operationID = "" diff --git a/gen/_template/router.tmpl b/gen/_template/router.tmpl index a7d6c6e3d..80b5f81c1 100644 --- a/gen/_template/router.tmpl +++ b/gen/_template/router.tmpl @@ -259,49 +259,46 @@ func (s *WebhookServer) Handler(webhookName string) http.Handler { {{- end }} +{{ define "return_found_edge" }} +{{- /*gotype: github.com/ogen-go/ogen/gen.RouterElem*/ -}} +{{- $r := $.Route -}} + switch method { + {{- range $route := $r.Routes }} + case {{ quote $route.Method }}: + {{- $op := $route.Operation }} + r.name = {{ quote $op.Name }} + r.summary = {{ quote $op.Summary }} + r.operationID = {{ quote $op.Spec.OperationID }} + r.pathPattern = {{ quote $route.Path }} + r.args = args + r.count = {{ $.ParameterIndex }} + return r, true + {{- end }} + default: + return + } +{{- end }} + {{ define "find_edge" }} {{- /*gotype: github.com/ogen-go/ogen/gen.RouterElem*/ -}} {{- $r := $.Route }} {{- if $r.IsLeaf }} if len(elem) == 0 { - switch method { - {{- range $route := $r.Routes }}{{- $op := $route.Operation }} - case {{ quote $route.Method }}: - // Leaf: {{ $op.Name }} - r.name = {{ quote $op.Name }} - r.summary = {{ quote $op.Summary }} - r.operationID = {{ quote $op.Spec.OperationID }} - r.pathPattern = {{ quote $route.Path }} - r.args = args - r.count = {{ $.ParameterIndex }} - return r, true - {{- end }} - default: - return - } + // Leaf node. + {{ template "return_found_edge" $ }} } {{- else }} + {{- with $routes := $r.Routes }} + if len(elem) == 0 { + {{ template "return_found_edge" $ }} + } + {{- end }} {{- with $child := $r.StaticChildren }} + {{- if not $r.Routes }} if len(elem) == 0 { - {{- with $routes := $r.Routes }} - switch method { - {{- range $route := $routes }}{{- $op := $route.Operation }} - case {{ quote $route.Method }}: - r.name = {{ quote $op.Name }} - r.summary = {{ quote $op.Summary }} - r.operationID = {{ quote $op.Spec.OperationID }} - r.pathPattern = {{ quote $route.Path }} - r.args = args - r.count = {{ $.ParameterIndex }} - return r, true - {{- end }} - default: - return - } - {{- else }} break - {{- end }} } + {{- end }} switch elem[0] { {{- range $c := $child }} case {{ quote $c.Head }}: // Prefix: {{ quote $c.Prefix }} diff --git a/internal/integration/referenced_path_item/oas_router_gen.go b/internal/integration/referenced_path_item/oas_router_gen.go index b7d0862fb..6bd72e6cf 100644 --- a/internal/integration/referenced_path_item/oas_router_gen.go +++ b/internal/integration/referenced_path_item/oas_router_gen.go @@ -158,9 +158,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: FooGet r.name = "FooGet" r.summary = "" r.operationID = "" diff --git a/internal/integration/sample_api/oas_router_gen.go b/internal/integration/sample_api/oas_router_gen.go index 35c20fe4c..33e3eb847 100644 --- a/internal/integration/sample_api/oas_router_gen.go +++ b/internal/integration/sample_api/oas_router_gen.go @@ -937,9 +937,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: DefaultTest r.name = "DefaultTest" r.summary = "" r.operationID = "defaultTest" @@ -962,9 +962,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ErrorGet r.name = "ErrorGet" r.summary = "" r.operationID = "errorGet" @@ -987,9 +987,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: FoobarGet r.name = "FoobarGet" r.summary = "" r.operationID = "foobarGet" @@ -998,7 +998,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 0 return r, true case "POST": - // Leaf: FoobarPost r.name = "FoobarPost" r.summary = "" r.operationID = "foobarPost" @@ -1007,7 +1006,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 0 return r, true case "PUT": - // Leaf: FoobarPut r.name = "FoobarPut" r.summary = "" r.operationID = "" @@ -1131,9 +1129,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: DataGetFormat r.name = "DataGetFormat" r.summary = "" r.operationID = "dataGetFormat" @@ -1168,9 +1166,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: NoAdditionalPropertiesTest r.name = "NoAdditionalPropertiesTest" r.summary = "" r.operationID = "noAdditionalPropertiesTest" @@ -1193,9 +1191,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: NullableDefaultResponse r.name = "NullableDefaultResponse" r.summary = "" r.operationID = "nullableDefaultResponse" @@ -1221,9 +1219,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: OneofBug r.name = "OneofBug" r.summary = "" r.operationID = "oneofBug" @@ -1258,9 +1256,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: PatternRecursiveMapGet r.name = "PatternRecursiveMapGet" r.summary = "" r.operationID = "" @@ -1326,9 +1324,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: PetGetAvatarByID r.name = "PetGetAvatarByID" r.summary = "" r.operationID = "petGetAvatarByID" @@ -1337,7 +1335,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 0 return r, true case "POST": - // Leaf: PetUploadAvatarByID r.name = "PetUploadAvatarByID" r.summary = "" r.operationID = "petUploadAvatarByID" @@ -1365,9 +1362,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: PetFriendsNamesByID r.name = "PetFriendsNamesByID" r.summary = "" r.operationID = "petFriendsNamesByID" @@ -1395,9 +1392,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: PetNameByID r.name = "PetNameByID" r.summary = "" r.operationID = "petNameByID" @@ -1443,9 +1440,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: PetUpdateNameAliasPost r.name = "PetUpdateNameAliasPost" r.summary = "" r.operationID = "" @@ -1496,9 +1493,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: PetGetAvatarByName r.name = "PetGetAvatarByName" r.summary = "" r.operationID = "petGetAvatarByName" @@ -1542,9 +1539,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: RecursiveArrayGet r.name = "RecursiveArrayGet" r.summary = "" r.operationID = "" @@ -1567,9 +1564,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: RecursiveMapGet r.name = "RecursiveMapGet" r.summary = "" r.operationID = "" @@ -1607,9 +1604,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: SecurityTest r.name = "SecurityTest" r.summary = "" r.operationID = "securityTest" @@ -1632,9 +1629,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: StringIntMapGet r.name = "StringIntMapGet" r.summary = "" r.operationID = "" @@ -1672,9 +1669,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestFloatValidation r.name = "TestFloatValidation" r.summary = "" r.operationID = "testFloatValidation" @@ -1697,9 +1694,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: TestInlineOneof r.name = "TestInlineOneof" r.summary = "" r.operationID = "testInlineOneof" @@ -1722,9 +1719,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: TestNullableOneofs r.name = "TestNullableOneofs" r.summary = "" r.operationID = "testNullableOneofs" @@ -1770,9 +1767,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: TestTupleNamed r.name = "TestTupleNamed" r.summary = "" r.operationID = "testTupleNamed" @@ -1798,9 +1795,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: TestUniqueItems r.name = "TestUniqueItems" r.summary = "" r.operationID = "testUniqueItems" diff --git a/internal/integration/sample_api_nc/oas_router_gen.go b/internal/integration/sample_api_nc/oas_router_gen.go index 35c20fe4c..33e3eb847 100644 --- a/internal/integration/sample_api_nc/oas_router_gen.go +++ b/internal/integration/sample_api_nc/oas_router_gen.go @@ -937,9 +937,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: DefaultTest r.name = "DefaultTest" r.summary = "" r.operationID = "defaultTest" @@ -962,9 +962,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ErrorGet r.name = "ErrorGet" r.summary = "" r.operationID = "errorGet" @@ -987,9 +987,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: FoobarGet r.name = "FoobarGet" r.summary = "" r.operationID = "foobarGet" @@ -998,7 +998,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 0 return r, true case "POST": - // Leaf: FoobarPost r.name = "FoobarPost" r.summary = "" r.operationID = "foobarPost" @@ -1007,7 +1006,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 0 return r, true case "PUT": - // Leaf: FoobarPut r.name = "FoobarPut" r.summary = "" r.operationID = "" @@ -1131,9 +1129,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: DataGetFormat r.name = "DataGetFormat" r.summary = "" r.operationID = "dataGetFormat" @@ -1168,9 +1166,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: NoAdditionalPropertiesTest r.name = "NoAdditionalPropertiesTest" r.summary = "" r.operationID = "noAdditionalPropertiesTest" @@ -1193,9 +1191,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: NullableDefaultResponse r.name = "NullableDefaultResponse" r.summary = "" r.operationID = "nullableDefaultResponse" @@ -1221,9 +1219,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: OneofBug r.name = "OneofBug" r.summary = "" r.operationID = "oneofBug" @@ -1258,9 +1256,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: PatternRecursiveMapGet r.name = "PatternRecursiveMapGet" r.summary = "" r.operationID = "" @@ -1326,9 +1324,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: PetGetAvatarByID r.name = "PetGetAvatarByID" r.summary = "" r.operationID = "petGetAvatarByID" @@ -1337,7 +1335,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 0 return r, true case "POST": - // Leaf: PetUploadAvatarByID r.name = "PetUploadAvatarByID" r.summary = "" r.operationID = "petUploadAvatarByID" @@ -1365,9 +1362,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: PetFriendsNamesByID r.name = "PetFriendsNamesByID" r.summary = "" r.operationID = "petFriendsNamesByID" @@ -1395,9 +1392,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: PetNameByID r.name = "PetNameByID" r.summary = "" r.operationID = "petNameByID" @@ -1443,9 +1440,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: PetUpdateNameAliasPost r.name = "PetUpdateNameAliasPost" r.summary = "" r.operationID = "" @@ -1496,9 +1493,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: PetGetAvatarByName r.name = "PetGetAvatarByName" r.summary = "" r.operationID = "petGetAvatarByName" @@ -1542,9 +1539,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: RecursiveArrayGet r.name = "RecursiveArrayGet" r.summary = "" r.operationID = "" @@ -1567,9 +1564,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: RecursiveMapGet r.name = "RecursiveMapGet" r.summary = "" r.operationID = "" @@ -1607,9 +1604,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: SecurityTest r.name = "SecurityTest" r.summary = "" r.operationID = "securityTest" @@ -1632,9 +1629,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: StringIntMapGet r.name = "StringIntMapGet" r.summary = "" r.operationID = "" @@ -1672,9 +1669,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestFloatValidation r.name = "TestFloatValidation" r.summary = "" r.operationID = "testFloatValidation" @@ -1697,9 +1694,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: TestInlineOneof r.name = "TestInlineOneof" r.summary = "" r.operationID = "testInlineOneof" @@ -1722,9 +1719,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: TestNullableOneofs r.name = "TestNullableOneofs" r.summary = "" r.operationID = "testNullableOneofs" @@ -1770,9 +1767,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: TestTupleNamed r.name = "TestTupleNamed" r.summary = "" r.operationID = "testTupleNamed" @@ -1798,9 +1795,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: TestUniqueItems r.name = "TestUniqueItems" r.summary = "" r.operationID = "testUniqueItems" diff --git a/internal/integration/sample_api_no_otel/oas_router_gen.go b/internal/integration/sample_api_no_otel/oas_router_gen.go index 35c20fe4c..33e3eb847 100644 --- a/internal/integration/sample_api_no_otel/oas_router_gen.go +++ b/internal/integration/sample_api_no_otel/oas_router_gen.go @@ -937,9 +937,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: DefaultTest r.name = "DefaultTest" r.summary = "" r.operationID = "defaultTest" @@ -962,9 +962,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ErrorGet r.name = "ErrorGet" r.summary = "" r.operationID = "errorGet" @@ -987,9 +987,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: FoobarGet r.name = "FoobarGet" r.summary = "" r.operationID = "foobarGet" @@ -998,7 +998,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 0 return r, true case "POST": - // Leaf: FoobarPost r.name = "FoobarPost" r.summary = "" r.operationID = "foobarPost" @@ -1007,7 +1006,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 0 return r, true case "PUT": - // Leaf: FoobarPut r.name = "FoobarPut" r.summary = "" r.operationID = "" @@ -1131,9 +1129,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: DataGetFormat r.name = "DataGetFormat" r.summary = "" r.operationID = "dataGetFormat" @@ -1168,9 +1166,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: NoAdditionalPropertiesTest r.name = "NoAdditionalPropertiesTest" r.summary = "" r.operationID = "noAdditionalPropertiesTest" @@ -1193,9 +1191,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: NullableDefaultResponse r.name = "NullableDefaultResponse" r.summary = "" r.operationID = "nullableDefaultResponse" @@ -1221,9 +1219,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: OneofBug r.name = "OneofBug" r.summary = "" r.operationID = "oneofBug" @@ -1258,9 +1256,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: PatternRecursiveMapGet r.name = "PatternRecursiveMapGet" r.summary = "" r.operationID = "" @@ -1326,9 +1324,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: PetGetAvatarByID r.name = "PetGetAvatarByID" r.summary = "" r.operationID = "petGetAvatarByID" @@ -1337,7 +1335,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 0 return r, true case "POST": - // Leaf: PetUploadAvatarByID r.name = "PetUploadAvatarByID" r.summary = "" r.operationID = "petUploadAvatarByID" @@ -1365,9 +1362,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: PetFriendsNamesByID r.name = "PetFriendsNamesByID" r.summary = "" r.operationID = "petFriendsNamesByID" @@ -1395,9 +1392,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: PetNameByID r.name = "PetNameByID" r.summary = "" r.operationID = "petNameByID" @@ -1443,9 +1440,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: PetUpdateNameAliasPost r.name = "PetUpdateNameAliasPost" r.summary = "" r.operationID = "" @@ -1496,9 +1493,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: PetGetAvatarByName r.name = "PetGetAvatarByName" r.summary = "" r.operationID = "petGetAvatarByName" @@ -1542,9 +1539,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: RecursiveArrayGet r.name = "RecursiveArrayGet" r.summary = "" r.operationID = "" @@ -1567,9 +1564,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: RecursiveMapGet r.name = "RecursiveMapGet" r.summary = "" r.operationID = "" @@ -1607,9 +1604,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: SecurityTest r.name = "SecurityTest" r.summary = "" r.operationID = "securityTest" @@ -1632,9 +1629,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: StringIntMapGet r.name = "StringIntMapGet" r.summary = "" r.operationID = "" @@ -1672,9 +1669,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestFloatValidation r.name = "TestFloatValidation" r.summary = "" r.operationID = "testFloatValidation" @@ -1697,9 +1694,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: TestInlineOneof r.name = "TestInlineOneof" r.summary = "" r.operationID = "testInlineOneof" @@ -1722,9 +1719,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: TestNullableOneofs r.name = "TestNullableOneofs" r.summary = "" r.operationID = "testNullableOneofs" @@ -1770,9 +1767,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: TestTupleNamed r.name = "TestTupleNamed" r.summary = "" r.operationID = "testTupleNamed" @@ -1798,9 +1795,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: TestUniqueItems r.name = "TestUniqueItems" r.summary = "" r.operationID = "testUniqueItems" diff --git a/internal/integration/sample_err/oas_router_gen.go b/internal/integration/sample_err/oas_router_gen.go index 9295f65ec..7d59c4623 100644 --- a/internal/integration/sample_err/oas_router_gen.go +++ b/internal/integration/sample_err/oas_router_gen.go @@ -160,9 +160,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: DataGet r.name = "DataGet" r.summary = "" r.operationID = "dataGet" @@ -171,7 +171,6 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { r.count = 0 return r, true case "POST": - // Leaf: DataCreate r.name = "DataCreate" r.summary = "" r.operationID = "dataCreate" diff --git a/internal/integration/security_reentrant/oas_router_gen.go b/internal/integration/security_reentrant/oas_router_gen.go index a854ab6a1..ba6c5d233 100644 --- a/internal/integration/security_reentrant/oas_router_gen.go +++ b/internal/integration/security_reentrant/oas_router_gen.go @@ -248,9 +248,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: CustomSecurity r.name = "CustomSecurity" r.summary = "" r.operationID = "customSecurity" @@ -273,9 +273,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: DisjointSecurity r.name = "DisjointSecurity" r.summary = "" r.operationID = "disjointSecurity" @@ -298,9 +298,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: IntersectSecurity r.name = "IntersectSecurity" r.summary = "" r.operationID = "intersectSecurity" @@ -323,9 +323,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: OptionalSecurity r.name = "OptionalSecurity" r.summary = "" r.operationID = "optionalSecurity" diff --git a/internal/integration/techempower/oas_router_gen.go b/internal/integration/techempower/oas_router_gen.go index 8cbe8fd67..8aaa0b2b6 100644 --- a/internal/integration/techempower/oas_router_gen.go +++ b/internal/integration/techempower/oas_router_gen.go @@ -269,9 +269,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: Caching r.name = "Caching" r.summary = "Test #7. The Caching test exercises the preferred in-memory or separate-process caching technology for the platform or framework. For implementation simplicity, the requirements are very similar to the multiple database-query test Test #3, but use a separate database table. The requirements are quite generous, affording each framework fairly broad freedom to meet the requirements in the manner that best represents the canonical non-distributed caching approach for the framework. (Note: a distributed caching test type could be added later.)" r.operationID = "Caching" @@ -294,9 +294,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: DB r.name = "DB" r.summary = "Test #2. The Single Database Query test exercises the framework's object-relational mapper (ORM), random number generator, database driver, and database connection pool." r.operationID = "DB" @@ -319,9 +319,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: JSON r.name = "JSON" r.summary = "Test #1. The JSON Serialization test exercises the framework fundamentals including keep-alive support, request routing, request header parsing, object instantiation, JSON serialization, response header generation, and request count throughput." r.operationID = "json" @@ -344,9 +344,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: Queries r.name = "Queries" r.summary = "Test #3. The Multiple Database Queries test is a variation of Test #2 and also uses the World table. Multiple rows are fetched to more dramatically punish the database driver and connection pool. At the highest queries-per-request tested (20), this test demonstrates all frameworks' convergence toward zero requests-per-second as database activity increases." r.operationID = "Queries" @@ -369,9 +369,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: Updates r.name = "Updates" r.summary = "Test #5. The Database Updates test is a variation of Test #3 that exercises the ORM's persistence of objects and the database driver's performance at running UPDATE statements or similar. The spirit of this test is to exercise a variable number of read-then-write style database operations." r.operationID = "Updates" diff --git a/internal/integration/test_allof/oas_router_gen.go b/internal/integration/test_allof/oas_router_gen.go index 9cab8def9..94bbfc00f 100644 --- a/internal/integration/test_allof/oas_router_gen.go +++ b/internal/integration/test_allof/oas_router_gen.go @@ -378,9 +378,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: NullableStrings r.name = "NullableStrings" r.summary = "" r.operationID = "nullableStrings" @@ -415,9 +415,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: ObjectsWithConflictingArrayProperty r.name = "ObjectsWithConflictingArrayProperty" r.summary = "" r.operationID = "objectsWithConflictingArrayProperty" @@ -440,9 +440,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: ObjectsWithConflictingProperties r.name = "ObjectsWithConflictingProperties" r.summary = "" r.operationID = "objectsWithConflictingProperties" @@ -491,9 +491,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: ReferencedAllofOptional r.name = "ReferencedAllofOptional" r.summary = "" r.operationID = "referencedAllofOptional" @@ -543,9 +543,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: SimpleInteger r.name = "SimpleInteger" r.summary = "" r.operationID = "simpleInteger" @@ -568,9 +568,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: SimpleObjects r.name = "SimpleObjects" r.summary = "" r.operationID = "simpleObjects" @@ -596,9 +596,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: StringsNotype r.name = "StringsNotype" r.summary = "" r.operationID = "stringsNotype" diff --git a/internal/integration/test_anyof/oas_router_gen.go b/internal/integration/test_anyof/oas_router_gen.go index d690d40a0..634100959 100644 --- a/internal/integration/test_anyof/oas_router_gen.go +++ b/internal/integration/test_anyof/oas_router_gen.go @@ -227,9 +227,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: IntegerNumber r.name = "IntegerNumber" r.summary = "" r.operationID = "integerNumber" @@ -252,9 +252,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: JaegerAnyOf r.name = "JaegerAnyOf" r.summary = "" r.operationID = "jaegerAnyOf" @@ -277,9 +277,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: OneUUID r.name = "OneUUID" r.summary = "" r.operationID = "oneUUID" diff --git a/internal/integration/test_enum_naming/oas_router_gen.go b/internal/integration/test_enum_naming/oas_router_gen.go index 06c47906d..4cca9073d 100644 --- a/internal/integration/test_enum_naming/oas_router_gen.go +++ b/internal/integration/test_enum_naming/oas_router_gen.go @@ -158,9 +158,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ProbeLiveness r.name = "ProbeLiveness" r.summary = "" r.operationID = "probeLiveness" diff --git a/internal/integration/test_form/oas_router_gen.go b/internal/integration/test_form/oas_router_gen.go index c9429a2ce..9664f179d 100644 --- a/internal/integration/test_form/oas_router_gen.go +++ b/internal/integration/test_form/oas_router_gen.go @@ -426,9 +426,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: OnlyForm r.name = "OnlyForm" r.summary = "" r.operationID = "onlyForm" @@ -463,9 +463,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: OnlyMultipartFile r.name = "OnlyMultipartFile" r.summary = "" r.operationID = "onlyMultipartFile" @@ -488,9 +488,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: OnlyMultipartForm r.name = "OnlyMultipartForm" r.summary = "" r.operationID = "onlyMultipartForm" @@ -531,9 +531,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestFormURLEncoded r.name = "TestFormURLEncoded" r.summary = "" r.operationID = "testFormURLEncoded" @@ -579,9 +579,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestMultipartUpload r.name = "TestMultipartUpload" r.summary = "" r.operationID = "testMultipartUpload" @@ -619,9 +619,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestReuseFormOptionalSchema r.name = "TestReuseFormOptionalSchema" r.summary = "" r.operationID = "testReuseFormOptionalSchema" @@ -644,9 +644,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestReuseFormSchema r.name = "TestReuseFormSchema" r.summary = "" r.operationID = "testReuseFormSchema" @@ -672,9 +672,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: TestShareFormSchema r.name = "TestShareFormSchema" r.summary = "" r.operationID = "testShareFormSchema" diff --git a/internal/integration/test_free_form/oas_router_gen.go b/internal/integration/test_free_form/oas_router_gen.go index 97c89b9b4..b652d21a2 100644 --- a/internal/integration/test_free_form/oas_router_gen.go +++ b/internal/integration/test_free_form/oas_router_gen.go @@ -206,9 +206,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: Path1 r.name = "Path1" r.summary = "" r.operationID = "Path1" @@ -231,9 +231,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: Path2 r.name = "Path2" r.summary = "" r.operationID = "Path2" diff --git a/internal/integration/test_http_requests/oas_router_gen.go b/internal/integration/test_http_requests/oas_router_gen.go index ee2fddfe3..eaad83bdb 100644 --- a/internal/integration/test_http_requests/oas_router_gen.go +++ b/internal/integration/test_http_requests/oas_router_gen.go @@ -315,9 +315,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: AllRequestBodiesOptional r.name = "AllRequestBodiesOptional" r.summary = "" r.operationID = "allRequestBodiesOptional" @@ -343,9 +343,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: Base64Request r.name = "Base64Request" r.summary = "" r.operationID = "base64Request" @@ -391,9 +391,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: MaskContentTypeOptional r.name = "MaskContentTypeOptional" r.summary = "" r.operationID = "maskContentTypeOptional" @@ -419,9 +419,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: StreamJSON r.name = "StreamJSON" r.summary = "" r.operationID = "streamJSON" diff --git a/internal/integration/test_http_responses/oas_router_gen.go b/internal/integration/test_http_responses/oas_router_gen.go index 35af4c3dc..54a32bdf4 100644 --- a/internal/integration/test_http_responses/oas_router_gen.go +++ b/internal/integration/test_http_responses/oas_router_gen.go @@ -548,9 +548,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: AnyContentTypeBinaryStringSchemaDefault r.name = "AnyContentTypeBinaryStringSchemaDefault" r.summary = "" r.operationID = "anyContentTypeBinaryStringSchemaDefault" @@ -576,9 +576,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: Combined r.name = "Combined" r.summary = "" r.operationID = "combined" @@ -613,9 +613,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: Headers200 r.name = "Headers200" r.summary = "" r.operationID = "headers200" @@ -638,9 +638,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: HeadersCombined r.name = "HeadersCombined" r.summary = "" r.operationID = "headersCombined" @@ -663,9 +663,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: HeadersDefault r.name = "HeadersDefault" r.summary = "" r.operationID = "headersDefault" @@ -688,9 +688,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: HeadersJSON r.name = "HeadersJSON" r.summary = "" r.operationID = "headersJSON" @@ -713,9 +713,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: HeadersPattern r.name = "HeadersPattern" r.summary = "" r.operationID = "headersPattern" @@ -741,9 +741,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: IntersectPatternCode r.name = "IntersectPatternCode" r.summary = "" r.operationID = "intersectPatternCode" @@ -766,9 +766,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: MultipleGenericResponses r.name = "MultipleGenericResponses" r.summary = "" r.operationID = "multipleGenericResponses" @@ -815,9 +815,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: OctetStreamBinaryStringSchema r.name = "OctetStreamBinaryStringSchema" r.summary = "" r.operationID = "octetStreamBinaryStringSchema" @@ -840,9 +840,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: OctetStreamEmptySchema r.name = "OctetStreamEmptySchema" r.summary = "" r.operationID = "octetStreamEmptySchema" @@ -868,9 +868,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: OptionalHeaders r.name = "OptionalHeaders" r.summary = "" r.operationID = "optionalHeaders" @@ -896,9 +896,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: StreamJSON r.name = "StreamJSON" r.summary = "" r.operationID = "streamJSON" @@ -921,9 +921,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: TextPlainBinaryStringSchema r.name = "TextPlainBinaryStringSchema" r.summary = "" r.operationID = "textPlainBinaryStringSchema" diff --git a/internal/integration/test_issue1161/oas_router_gen.go b/internal/integration/test_issue1161/oas_router_gen.go index 433ef9845..83d85f3db 100644 --- a/internal/integration/test_issue1161/oas_router_gen.go +++ b/internal/integration/test_issue1161/oas_router_gen.go @@ -271,9 +271,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: FooBarBazGet r.name = "FooBarBazGet" r.summary = "" r.operationID = "" @@ -296,9 +296,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: FooBarQuxGet r.name = "FooBarQuxGet" r.summary = "" r.operationID = "" @@ -338,9 +338,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: FooParamXyzGet r.name = "FooParamXyzGet" r.summary = "" r.operationID = "" diff --git a/internal/integration/test_naming_extensions/oas_router_gen.go b/internal/integration/test_naming_extensions/oas_router_gen.go index a87085dba..85497c41c 100644 --- a/internal/integration/test_naming_extensions/oas_router_gen.go +++ b/internal/integration/test_naming_extensions/oas_router_gen.go @@ -158,9 +158,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: HealthzGet r.name = "HealthzGet" r.summary = "" r.operationID = "" diff --git a/internal/integration/test_parameters/oas_router_gen.go b/internal/integration/test_parameters/oas_router_gen.go index 4c3f92a03..0cf8e526d 100644 --- a/internal/integration/test_parameters/oas_router_gen.go +++ b/internal/integration/test_parameters/oas_router_gen.go @@ -468,9 +468,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ComplicatedParameterNameGet r.name = "ComplicatedParameterNameGet" r.summary = "" r.operationID = "" @@ -498,9 +498,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ContentParameters r.name = "ContentParameters" r.summary = "" r.operationID = "contentParameters" @@ -523,9 +523,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: CookieParameter r.name = "CookieParameter" r.summary = "" r.operationID = "cookieParameter" @@ -551,9 +551,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: HeaderParameter r.name = "HeaderParameter" r.summary = "" r.operationID = "headerParameter" @@ -600,9 +600,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ObjectCookieParameter r.name = "ObjectCookieParameter" r.summary = "" r.operationID = "objectCookieParameter" @@ -625,9 +625,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ObjectQueryParameter r.name = "ObjectQueryParameter" r.summary = "" r.operationID = "objectQueryParameter" @@ -653,9 +653,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: OptionalArrayParameter r.name = "OptionalArrayParameter" r.summary = "" r.operationID = "optionalArrayParameter" @@ -686,9 +686,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: PathParameter r.name = "PathParameter" r.summary = "" r.operationID = "pathParameter" @@ -728,9 +728,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { elem = "" if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: SameName r.name = "SameName" r.summary = "parameters with different location, but with the same name" r.operationID = "sameName" @@ -753,9 +753,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: SimilarNames r.name = "SimilarNames" r.summary = "parameters with different location, but with similar names" r.operationID = "similarNames" diff --git a/internal/integration/test_security/oas_router_gen.go b/internal/integration/test_security/oas_router_gen.go index a854ab6a1..ba6c5d233 100644 --- a/internal/integration/test_security/oas_router_gen.go +++ b/internal/integration/test_security/oas_router_gen.go @@ -248,9 +248,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: CustomSecurity r.name = "CustomSecurity" r.summary = "" r.operationID = "customSecurity" @@ -273,9 +273,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: DisjointSecurity r.name = "DisjointSecurity" r.summary = "" r.operationID = "disjointSecurity" @@ -298,9 +298,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: IntersectSecurity r.name = "IntersectSecurity" r.summary = "" r.operationID = "intersectSecurity" @@ -323,9 +323,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: OptionalSecurity r.name = "OptionalSecurity" r.summary = "" r.operationID = "optionalSecurity" diff --git a/internal/integration/test_servers/oas_router_gen.go b/internal/integration/test_servers/oas_router_gen.go index 06c47906d..4cca9073d 100644 --- a/internal/integration/test_servers/oas_router_gen.go +++ b/internal/integration/test_servers/oas_router_gen.go @@ -158,9 +158,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ProbeLiveness r.name = "ProbeLiveness" r.summary = "" r.operationID = "probeLiveness" diff --git a/internal/integration/test_single_endpoint/oas_router_gen.go b/internal/integration/test_single_endpoint/oas_router_gen.go index 06c47906d..4cca9073d 100644 --- a/internal/integration/test_single_endpoint/oas_router_gen.go +++ b/internal/integration/test_single_endpoint/oas_router_gen.go @@ -158,9 +158,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "GET": - // Leaf: ProbeLiveness r.name = "ProbeLiveness" r.summary = "" r.operationID = "probeLiveness" diff --git a/internal/integration/test_webhooks/oas_router_gen.go b/internal/integration/test_webhooks/oas_router_gen.go index 75c65bc4f..09f65cd06 100644 --- a/internal/integration/test_webhooks/oas_router_gen.go +++ b/internal/integration/test_webhooks/oas_router_gen.go @@ -158,9 +158,9 @@ func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) { } if len(elem) == 0 { + // Leaf node. switch method { case "POST": - // Leaf: PublishEvent r.name = "PublishEvent" r.summary = "" r.operationID = "publishEvent"