Skip to content

Fix required states for List repository tree

milkers requested to merge milkers/gitlab:milkers-master-patch-02266 into master

What does this MR do?

This merge request fixes Gitlab API document for repositories. List repository tree API needs a fix for supported attributes' required values.

In the correct case; id field should be required yes but other fields should be optional so values should be no. But currently it is the opposite, so it needs to be fixed.

Screenshots or Screencasts (strongly suggested)

The wrong documentation can be observed in the below Screenshot;

Screen_Shot_2021-08-11_at_16.57.11

How to setup and validate locally (strongly suggested)

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

Does this MR contain changes to processing or storing of credentials or tokens, authorization and authentication methods or other items described in the security review guidelines? If not, then delete this Security section.

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team
Edited by Nick Thomas

Merge request reports