summaryrefslogtreecommitdiff
path: root/spec/fixtures/api
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-01-07 15:07:34 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2020-01-07 15:07:34 +0000
commitb4028d450087e97f26d4baa23e08396bcbabe3e0 (patch)
treef84a5cbb29e43bab0ba58db1bc5619112c8c482e /spec/fixtures/api
parent05f1d5d9813332bdd456cb358517e56168a24224 (diff)
downloadgitlab-ce-b4028d450087e97f26d4baa23e08396bcbabe3e0.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/service.json22
-rw-r--r--spec/fixtures/api/schemas/public_api/v4/services.json4
2 files changed, 26 insertions, 0 deletions
diff --git a/spec/fixtures/api/schemas/public_api/v4/service.json b/spec/fixtures/api/schemas/public_api/v4/service.json
new file mode 100644
index 00000000000..4a91d264961
--- /dev/null
+++ b/spec/fixtures/api/schemas/public_api/v4/service.json
@@ -0,0 +1,22 @@
+{
+ "type": "object",
+ "properties": {
+ "id": { "type": "integer" },
+ "title": { "type": "string" },
+ "created_at": { "type": "date-time" },
+ "updated_at": { "type": "date-time" },
+ "active": { "type": "boolean" },
+ "commit_events": { "type": "boolean" },
+ "push_events": { "type": "boolean" },
+ "issues_events": { "type": "boolean" },
+ "confidential_issues_events": { "type": "boolean" },
+ "merge_requests_events": { "type": "boolean" },
+ "tag_push_events": { "type": "boolean" },
+ "note_events": { "type": "boolean" },
+ "confidential_note_events": { "type": "boolean" },
+ "pipeline_events": { "type": "boolean" },
+ "wiki_page_events": { "type": "boolean" },
+ "job_events": { "type": "boolean" }
+ },
+ "additionalProperties": false
+}
diff --git a/spec/fixtures/api/schemas/public_api/v4/services.json b/spec/fixtures/api/schemas/public_api/v4/services.json
new file mode 100644
index 00000000000..78c59ecfa10
--- /dev/null
+++ b/spec/fixtures/api/schemas/public_api/v4/services.json
@@ -0,0 +1,4 @@
+{
+ "type": "array",
+ "items": { "$ref": "service.json" }
+}