summaryrefslogtreecommitdiff
path: root/spec/fixtures/api/schemas/graphql
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2021-01-20 13:34:23 -0600
committerRobert Speicher <rspeicher@gmail.com>2021-01-20 13:34:23 -0600
commit6438df3a1e0fb944485cebf07976160184697d72 (patch)
tree00b09bfd170e77ae9391b1a2f5a93ef6839f2597 /spec/fixtures/api/schemas/graphql
parent42bcd54d971da7ef2854b896a7b34f4ef8601067 (diff)
downloadgitlab-ce-6438df3a1e0fb944485cebf07976160184697d72.tar.gz
Add latest changes from gitlab-org/gitlab@13-8-stable-eev13.8.0-rc42
Diffstat (limited to 'spec/fixtures/api/schemas/graphql')
-rw-r--r--spec/fixtures/api/schemas/graphql/namespace/package_settings.json12
-rw-r--r--spec/fixtures/api/schemas/graphql/packages/package_composer_details.json12
-rw-r--r--spec/fixtures/api/schemas/graphql/packages/package_details.json36
3 files changed, 60 insertions, 0 deletions
diff --git a/spec/fixtures/api/schemas/graphql/namespace/package_settings.json b/spec/fixtures/api/schemas/graphql/namespace/package_settings.json
new file mode 100644
index 00000000000..c1286ee0944
--- /dev/null
+++ b/spec/fixtures/api/schemas/graphql/namespace/package_settings.json
@@ -0,0 +1,12 @@
+{
+ "type": "object",
+ "required": ["mavenDuplicatesAllowed", "mavenDuplicateExceptionRegex"],
+ "properties": {
+ "mavenDuplicatesAllowed": {
+ "type": "boolean"
+ },
+ "mavenDuplicateExceptionRegex": {
+ "type": "string"
+ }
+ }
+}
diff --git a/spec/fixtures/api/schemas/graphql/packages/package_composer_details.json b/spec/fixtures/api/schemas/graphql/packages/package_composer_details.json
new file mode 100644
index 00000000000..bcf64a6e567
--- /dev/null
+++ b/spec/fixtures/api/schemas/graphql/packages/package_composer_details.json
@@ -0,0 +1,12 @@
+{
+ "type": "object",
+ "allOf": [{ "$ref": "./package_details.json" }],
+ "properties": {
+ "target_sha": {
+ "type": "string"
+ },
+ "composer_json": {
+ "type": "object"
+ }
+ }
+}
diff --git a/spec/fixtures/api/schemas/graphql/packages/package_details.json b/spec/fixtures/api/schemas/graphql/packages/package_details.json
new file mode 100644
index 00000000000..4f90285183c
--- /dev/null
+++ b/spec/fixtures/api/schemas/graphql/packages/package_details.json
@@ -0,0 +1,36 @@
+{
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "createdAt": {
+ "type": "string"
+ },
+ "updatedAt": {
+ "type": "string"
+ },
+ "version": {
+ "type": ["string", "null"]
+ },
+ "package_type": {
+ "type": ["string"],
+ "enum": ["MAVEN", "NPM", "CONAN", "NUGET", "PYPI", "COMPOSER", "GENERIC", "GOLANG", "DEBIAN"]
+ },
+ "tags": {
+ "type": "object"
+ },
+ "project": {
+ "type": "object"
+ },
+ "pipelines": {
+ "type": "object"
+ },
+ "versions": {
+ "type": "object"
+ }
+ }
+}