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

lookup_path.json « pages « internal « schemas « api « fixtures « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: b2b3d3f9d0a9ff7a1212b450e227b477af91a6ea (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
{
  "type": "object",
  "required": [
    "project_id",
    "https_only",
    "access_control",
    "source",
    "prefix"
  ],
  "properties": {
    "project_id": { "type": "integer" },
    "https_only": { "type": "boolean" },
    "access_control": { "type": "boolean" },
    "source": { "type": "object",
      "required": ["type", "path"],
      "properties" : {
        "type": { "type": "string", "enum": ["file"] },
        "path": { "type": "string" }
      },
      "additionalProperties": false
    },
    "prefix": { "type": "string" }
  },
  "additionalProperties": false
}