REST repository response example incorrectly shows defaultBranch field

XMLWordPrintable

    • 1
    • Severity 3 - Minor
    • CtB - Improve Existing

      Issue Summary

      REST response example for the Get repositories endpoint does not match the actual response given by the application.

      Steps to Reproduce

      Observe difference in response between Get repositories endpoint and the documented response example. Notably, the response example includes the defaultBranch field, which is not actually returned.

      Expected Results

      The Get repositories endpoint response example correctly matches the actual response given by the application (no defaultBranch field).

      Actual Results

      Unlike the Get repositories endpoint response example, the actual response doesn't contain defaultBranch field.

      Workaround

      The default branch for a repository can be retrieved with the Get repository default branch endpoint.

            Assignee:
            Daniel (Inactive)
            Reporter:
            Stefan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: