Welcome to mirror list, hosted at ThFree Co, Russian Federation.

commit.json « entities « schemas « api « fixtures « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 324702e3f94716607584d7304f315f843ea19ad7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{
  "type": "object",
  "allOf": [
    { "$ref": "../public_api/v4/commit/basic.json" },
    {
      "type": "object",
      "required": [
        "author_gravatar_url",
        "commit_url",
        "commit_path",
        "author"
      ],
      "properties": {
        "author_gravatar_url": { "type": "string" },
        "commit_url": { "type": "string" },
        "commit_path": { "type": "string" },
        "author": {
          "oneOf": [
            { "type": "null" },
            { "$ref": "user.json" }
          ]
        }
      }
    }
  ]
}