summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatija Čupić <matteeyah@gmail.com>2018-02-13 16:12:55 +0100
committerMatija Čupić <matteeyah@gmail.com>2018-02-13 16:15:23 +0100
commitb413a825b129122d93230203db52902e74821495 (patch)
treee382f8b22e0ea5bbedfb9600a58b96d926a0c417
parentcb295ba5bd0809630bda6c81fc2016744e9bd63f (diff)
downloadgitlab-ce-b413a825b129122d93230203db52902e74821495.tar.gz
Extend variable JSON Schema with optional environment_scope
-rw-r--r--spec/fixtures/api/schemas/variable.json3
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/fixtures/api/schemas/variable.json b/spec/fixtures/api/schemas/variable.json
index 78977118b0a..6f6b044115b 100644
--- a/spec/fixtures/api/schemas/variable.json
+++ b/spec/fixtures/api/schemas/variable.json
@@ -10,7 +10,8 @@
"id": { "type": "integer" },
"key": { "type": "string" },
"value": { "type": "string" },
- "protected": { "type": "boolean" }
+ "protected": { "type": "boolean" },
+ "environment_scope": { "type": "string", "optional": true }
},
"additionalProperties": false
}