summaryrefslogtreecommitdiff
path: root/spec/fixtures/api
diff options
context:
space:
mode:
Diffstat (limited to 'spec/fixtures/api')
-rw-r--r--spec/fixtures/api/schemas/entities/test_suite_comparer.json9
-rw-r--r--spec/fixtures/api/schemas/public_api/v4/packages/composer/index.json5
-rw-r--r--spec/fixtures/api/schemas/public_api/v4/pipeline.json5
3 files changed, 16 insertions, 3 deletions
diff --git a/spec/fixtures/api/schemas/entities/test_suite_comparer.json b/spec/fixtures/api/schemas/entities/test_suite_comparer.json
index ecb331ae013..ac001ef8843 100644
--- a/spec/fixtures/api/schemas/entities/test_suite_comparer.json
+++ b/spec/fixtures/api/schemas/entities/test_suite_comparer.json
@@ -26,7 +26,14 @@
"existing_failures": { "type": "array", "items": { "$ref": "test_case.json" } },
"new_errors": { "type": "array", "items": { "$ref": "test_case.json" } },
"resolved_errors": { "type": "array", "items": { "$ref": "test_case.json" } },
- "existing_errors": { "type": "array", "items": { "$ref": "test_case.json" } }
+ "existing_errors": { "type": "array", "items": { "$ref": "test_case.json" } },
+ "suite_errors": {
+ "type": ["object", "null"],
+ "properties": {
+ "head": { "type": ["string", "null"] },
+ "base": { "type": ["string", "null"] }
+ }
+ }
},
"additionalProperties": false
}
diff --git a/spec/fixtures/api/schemas/public_api/v4/packages/composer/index.json b/spec/fixtures/api/schemas/public_api/v4/packages/composer/index.json
index 2245b39cabe..81a222b922d 100644
--- a/spec/fixtures/api/schemas/public_api/v4/packages/composer/index.json
+++ b/spec/fixtures/api/schemas/public_api/v4/packages/composer/index.json
@@ -1,6 +1,6 @@
{
"type": "object",
- "required": ["packages", "provider-includes", "providers-url"],
+ "required": ["packages", "provider-includes", "providers-url", "metadata-url"],
"properties": {
"packages": {
"type": "array",
@@ -9,6 +9,9 @@
"providers-url": {
"type": "string"
},
+ "metadata-url": {
+ "type": "string"
+ },
"provider-includes": {
"type": "object",
"required": ["p/%hash%.json"],
diff --git a/spec/fixtures/api/schemas/public_api/v4/pipeline.json b/spec/fixtures/api/schemas/public_api/v4/pipeline.json
index f83844a115d..7e553f9e5de 100644
--- a/spec/fixtures/api/schemas/public_api/v4/pipeline.json
+++ b/spec/fixtures/api/schemas/public_api/v4/pipeline.json
@@ -1,10 +1,13 @@
{
"type": "object",
- "required": ["id", "sha", "ref", "status", "created_at", "updated_at", "web_url"],
+ "required": ["id", "project_id", "sha", "ref", "status", "created_at", "updated_at", "web_url"],
"properties": {
"id": {
"type": "integer"
},
+ "project_id": {
+ "type": "integer"
+ },
"sha": {
"type": "string"
},