Add ResourceWeightEvents to OpenAPI documetation
What does this MR do and why?
Contributes to https://gitlab.com/gitlab-org/gitlab/-/issues/377051
- Add field documentation for Grape::Entity
- Add tags and response codes for API endpoints
Documentation source: https://docs.gitlab.com/ee/api/resource_weight_events.html
How to set up and validate locally
Note: EE endpoints can currently not be mounted to the OpenAPI namespace. This means we just have to double check the annotations and not run the rake gitlab:openapi:generate
task.
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.