Correct field type, add some missing fields to settings
-
Please check this box if this contribution uses AI-generated content (including content generated by GitLab Duo features) as outlined in the GitLab DCO & CLA. As a benefit of being a GitLab Community Contributor, you receive complimentary access to GitLab Duo.
According to the docs (https://docs.gitlab.com/api/settings/#available-settings) the type of git_rate_limit_users_alertlist is an array of integers. However, in the code it's mapped to an array of strings. This is causing it to fail to json unmarshall into the struct. For example, here's a test failure in the terraform provider: https://gitlab.com/gitlab-org/terraform-provider-gitlab/-/jobs/9717240359
It's a breaking change, but presumably it's already broken? I've also added some missing fields.
Edited by 🤖 GitLab Bot 🤖