fix!: Add `ListOptions` to `ListDeploymentBranchPolicies` and `ListCustomDeploymentRuleIntegrations` by Not-Dhananjay-Mishra · Pull Request #3988 · google/go-github

And now I'm left wondering why new iterators weren't created by gen-iterators.go?

Both of these functions return a struct not a array of struct. even when I add

var customTestJSON = map[string]string{
	"ListAllTopics":                                `{"names": []}`,
	"ListUserInstallations":                        `{"installations": []}`,
	"DeploymentBranchPolicyResponse":               `{"branch_policies": []}`,
	"ListCustomDeploymentRuleIntegrationsResponse": `{"available_custom_deployment_protection_rule_integrations": []}`,
}

and run go generate ./... iterator for them not generates

Edit : I don't think customTestJSON will work if function returns struct