Skip to content

Add API::ContainerRepositories endpoints to OpenApiV2 docs

What does this MR do and why?

Closes https://gitlab.com/gitlab-org/gitlab/-/issues/376891.

This MR adds API::ContainerRepositories endpoints to the OpenApiV2 documentation.

Additional updates to the API documentation are also added:

  1. Fixed the description of ID (from being a project ID to a repository ID)
  2. Added possible error responses based on test
  3. Added a tag
  4. Added examples and data types to the response
  5. Added a test for the format of tags when returned

Screenshots or screen recordings

a1 b

How to set up and validate locally

Run to generate the yml file:

bundle exec rake gitlab:openapi:generate

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #376891

Edited by Adie (she/her)

Merge request reports