Add OpenAPI documentation for ProjectPushRules
What does this MR do and why?
https://gitlab.com/gitlab-org/gitlab/-/issues/377029 Adds documentation to project push rule endpoints.
How to set up and validate locally
git checkout docs/377029-project-push-rule-endpoint
rake gitlab:openapi:generate
- visit editor.swagger.io
- File > Import File > find
doc/api/openapi/openapi_v2.yaml
and import - Find the relevant docs under projects and push_rules (tagged with both so will be included in both sections) and verify against https://docs.gitlab.com/ee/api/projects.html#push-rules
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.