summaryrefslogtreecommitdiff
path: root/spec/fixtures/api
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-01-22 15:08:48 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2020-01-22 15:08:48 +0000
commit180cd023a11c0eb413ad0de124d9758ea25672bd (patch)
tree63d77be00a22dc637daa0b6d5b644e230f5f4890 /spec/fixtures/api
parentbe3e24ea3c9f497efde85900df298ce9bc42fce8 (diff)
downloadgitlab-ce-180cd023a11c0eb413ad0de124d9758ea25672bd.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/fixtures/api')
-rw-r--r--spec/fixtures/api/schemas/public_api/v4/membership.json10
-rw-r--r--spec/fixtures/api/schemas/public_api/v4/memberships.json4
2 files changed, 14 insertions, 0 deletions
diff --git a/spec/fixtures/api/schemas/public_api/v4/membership.json b/spec/fixtures/api/schemas/public_api/v4/membership.json
new file mode 100644
index 00000000000..3412076f84a
--- /dev/null
+++ b/spec/fixtures/api/schemas/public_api/v4/membership.json
@@ -0,0 +1,10 @@
+{
+ "type": "object",
+ "properties" : {
+ "source_id": { "type": "integer" },
+ "source_name": { "type": "string" },
+ "source_type": { "type": "string" },
+ "access_level": { "type": "integer" }
+ },
+ "additionalProperties": false
+}
diff --git a/spec/fixtures/api/schemas/public_api/v4/memberships.json b/spec/fixtures/api/schemas/public_api/v4/memberships.json
new file mode 100644
index 00000000000..54c98b9cb99
--- /dev/null
+++ b/spec/fixtures/api/schemas/public_api/v4/memberships.json
@@ -0,0 +1,4 @@
+{
+ "type": "array",
+ "items": { "$ref": "membership.json" }
+}