diff options
Diffstat (limited to 'spec/fixtures/api')
3 files changed, 118 insertions, 35 deletions
diff --git a/spec/fixtures/api/schemas/entities/codequality_degradation.json b/spec/fixtures/api/schemas/entities/codequality_degradation.json index 863b9f0c77e..ac772873daf 100644 --- a/spec/fixtures/api/schemas/entities/codequality_degradation.json +++ b/spec/fixtures/api/schemas/entities/codequality_degradation.json @@ -21,7 +21,10 @@ }, "web_url": { "type": "string" + }, + "engine_name": { + "type": "string" } }, "additionalProperties": false -}
\ No newline at end of file +} diff --git a/spec/fixtures/api/schemas/graphql/packages/package_details.json b/spec/fixtures/api/schemas/graphql/packages/package_details.json index 1f3de0e0ff5..f66f5eb35b5 100644 --- a/spec/fixtures/api/schemas/graphql/packages/package_details.json +++ b/spec/fixtures/api/schemas/graphql/packages/package_details.json @@ -9,6 +9,7 @@ "version", "packageType", "project", + "publicPackage", "tags", "pipelines", "versions", @@ -31,13 +32,20 @@ "type": "string" }, "version": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "canDestroy": { - "type": ["boolean"] + "type": [ + "boolean" + ] }, "packageType": { - "type": ["string"], + "type": [ + "string" + ], "enum": [ "MAVEN", "NPM", @@ -56,66 +64,126 @@ "type": "object", "additionalProperties": false, "properties": { - "count": { "type": "integer" }, - "pageInfo": { "type": "object" }, - "edges": { "type": "array" }, - "nodes": { "type": "array" } + "count": { + "type": "integer" + }, + "pageInfo": { + "type": "object" + }, + "edges": { + "type": "array" + }, + "nodes": { + "type": "array" + } } }, "project": { "type": "object" }, + "publicPackage": { + "type": "boolean" + }, "pipelines": { "type": "object", "additionalProperties": false, "properties": { - "pageInfo": { "type": "object" }, - "count": { "type": "integer" }, - "edges": { "type": "array" }, - "nodes": { "type": "array" } + "pageInfo": { + "type": "object" + }, + "count": { + "type": "integer" + }, + "edges": { + "type": "array" + }, + "nodes": { + "type": "array" + } } }, "versions": { "type": "object", "additionalProperties": false, "properties": { - "count": { "type": "integer" }, - "pageInfo": { "type": "object" }, - "edges": { "type": "array" }, - "nodes": { "type": "array" } + "count": { + "type": "integer" + }, + "pageInfo": { + "type": "object" + }, + "edges": { + "type": "array" + }, + "nodes": { + "type": "array" + } } }, "metadata": { "anyOf": [ - { "$ref": "./package_composer_metadata.json" }, - { "$ref": "./package_conan_metadata.json" }, - { "$ref": "./package_maven_metadata.json" }, - { "$ref": "./package_nuget_metadata.json" }, - { "$ref": "./package_pypi_metadata.json" }, - { "type": "null" } + { + "$ref": "./package_composer_metadata.json" + }, + { + "$ref": "./package_conan_metadata.json" + }, + { + "$ref": "./package_maven_metadata.json" + }, + { + "$ref": "./package_nuget_metadata.json" + }, + { + "$ref": "./package_pypi_metadata.json" + }, + { + "type": "null" + } ] }, "packageFiles": { "type": "object", "additionalProperties": false, "properties": { - "count": { "type": "integer" }, - "pageInfo": { "type": "object" }, - "edges": { "type": "array" }, - "nodes": { "type": "array" } + "count": { + "type": "integer" + }, + "pageInfo": { + "type": "object" + }, + "edges": { + "type": "array" + }, + "nodes": { + "type": "array" + } } }, "status": { - "type": ["string"], - "enum": ["DEFAULT", "HIDDEN", "PROCESSING", "ERROR"] + "type": [ + "string" + ], + "enum": [ + "DEFAULT", + "HIDDEN", + "PROCESSING", + "ERROR" + ] }, "dependencyLinks": { "type": "object", "additionalProperties": false, "properties": { - "pageInfo": { "type": "object" }, - "edges": { "type": "array" }, - "count": { "type": "integer" }, + "pageInfo": { + "type": "object" + }, + "edges": { + "type": "array" + }, + "count": { + "type": "integer" + }, "nodes": { "type": "array", "items": { @@ -143,8 +211,12 @@ }, "metadata": { "anyOf": [ - { "$ref": "./package_nuget_dependency_link_metadata.json" }, - { "type": "null" } + { + "$ref": "./package_nuget_dependency_link_metadata.json" + }, + { + "type": "null" + } ] } } @@ -177,14 +249,20 @@ "type": "string" }, "lastDownloadedAt": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "_links": { "type": "object", "additionalProperties": false, "properties": { "webPath": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] } } } diff --git a/spec/fixtures/api/schemas/public_api/v4/job.json b/spec/fixtures/api/schemas/public_api/v4/job.json index f6b12d3a1c0..6265fbcff69 100644 --- a/spec/fixtures/api/schemas/public_api/v4/job.json +++ b/spec/fixtures/api/schemas/public_api/v4/job.json @@ -11,6 +11,7 @@ "created_at", "started_at", "finished_at", + "erased_at", "duration", "queued_duration", "user", @@ -35,6 +36,7 @@ "created_at": { "type": "string" }, "started_at": { "type": ["null", "string"] }, "finished_at": { "type": ["null", "string"] }, + "erased_at": { "type": ["null", "string"] }, "duration": { "type": ["null", "number"] }, "queued_duration": { "type": ["null", "number"] }, "user": { "$ref": "user/basic.json" }, |