summaryrefslogtreecommitdiff
path: root/doc/api/graphql/reference
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-06-17 21:08:24 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2020-06-17 21:08:24 +0000
commit1b16af5ff9da84ff7779ea7d7db977d7c056baca (patch)
tree09aabef12bdae93174d8dff4a5e53a424dc0c526 /doc/api/graphql/reference
parent6b922f9bb0a09fa74565a45e4af324d0324adba9 (diff)
downloadgitlab-ce-1b16af5ff9da84ff7779ea7d7db977d7c056baca.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/api/graphql/reference')
-rw-r--r--doc/api/graphql/reference/gitlab_schema.graphql7
-rw-r--r--doc/api/graphql/reference/gitlab_schema.json28
2 files changed, 27 insertions, 8 deletions
diff --git a/doc/api/graphql/reference/gitlab_schema.graphql b/doc/api/graphql/reference/gitlab_schema.graphql
index 127fc959fee..e4a6b08871f 100644
--- a/doc/api/graphql/reference/gitlab_schema.graphql
+++ b/doc/api/graphql/reference/gitlab_schema.graphql
@@ -1824,7 +1824,7 @@ input CreateSnippetInput {
"""
Content of the snippet
"""
- content: String!
+ content: String
"""
Description of the snippet
@@ -1837,6 +1837,11 @@ input CreateSnippetInput {
fileName: String
"""
+ The snippet files to create
+ """
+ files: [SnippetFileInputType!]
+
+ """
The project full path the snippet is associated with
"""
projectPath: ID
diff --git a/doc/api/graphql/reference/gitlab_schema.json b/doc/api/graphql/reference/gitlab_schema.json
index 8992014276f..198966e452d 100644
--- a/doc/api/graphql/reference/gitlab_schema.json
+++ b/doc/api/graphql/reference/gitlab_schema.json
@@ -4825,13 +4825,9 @@
"name": "content",
"description": "Content of the snippet",
"type": {
- "kind": "NON_NULL",
- "name": null,
- "ofType": {
- "kind": "SCALAR",
- "name": "String",
- "ofType": null
- }
+ "kind": "SCALAR",
+ "name": "String",
+ "ofType": null
},
"defaultValue": null
},
@@ -4888,6 +4884,24 @@
"defaultValue": null
},
{
+ "name": "files",
+ "description": "The snippet files to create",
+ "type": {
+ "kind": "LIST",
+ "name": null,
+ "ofType": {
+ "kind": "NON_NULL",
+ "name": null,
+ "ofType": {
+ "kind": "INPUT_OBJECT",
+ "name": "SnippetFileInputType",
+ "ofType": null
+ }
+ }
+ },
+ "defaultValue": null
+ },
+ {
"name": "clientMutationId",
"description": "A unique identifier for the client performing the mutation.",
"type": {