Add GroupHooks to OpenAPI documetation

What does this MR do and why?

Contributes to https://gitlab.com/gitlab-org/gitlab/-/issues/377033

  • Add field documentation for Grape::Entity
  • Add response codes for API endpoints

Documentation source: https://docs.gitlab.com/ee/api/groups.html#hooks

Screenshots or screen recordings

image

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.

Edited by Bojan Marjanovic

Merge request reports

Loading