summaryrefslogtreecommitdiff
path: root/spec/fixtures/api/schemas/graphql/packages/package_details.json
diff options
context:
space:
mode:
Diffstat (limited to 'spec/fixtures/api/schemas/graphql/packages/package_details.json')
-rw-r--r--spec/fixtures/api/schemas/graphql/packages/package_details.json42
1 files changed, 42 insertions, 0 deletions
diff --git a/spec/fixtures/api/schemas/graphql/packages/package_details.json b/spec/fixtures/api/schemas/graphql/packages/package_details.json
index 3dfe6712b75..9e8bf7c52d0 100644
--- a/spec/fixtures/api/schemas/graphql/packages/package_details.json
+++ b/spec/fixtures/api/schemas/graphql/packages/package_details.json
@@ -99,6 +99,48 @@
"status": {
"type": ["string"],
"enum": ["DEFAULT", "HIDDEN", "PROCESSING", "ERROR"]
+ },
+ "dependencyLinks": {
+ "type": "object",
+ "additionalProperties": false,
+ "properties": {
+ "pageInfo": { "type": "object" },
+ "edges": { "type": "array" },
+ "nodes": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "dependencyType": {
+ "type": "string"
+ },
+ "dependency": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "versionPattern": {
+ "type": "string"
+ }
+ }
+ },
+ "metadata": {
+ "anyOf": [
+ { "$ref": "./package_nuget_dependency_link_metadata.json" },
+ { "type": "null" }
+ ]
+ }
+ }
+ }
+ }
+ }
}
}
}