summaryrefslogtreecommitdiff
path: root/spec/fixtures/api/schemas/public_api/v4/tag.json
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2017-07-26 15:53:07 +0200
committerRémy Coutable <remy@rymai.me>2017-08-08 11:50:58 +0200
commit10fe62ec80be86c227e38d60e30fecba0c5bbe29 (patch)
tree6427cca9ef5c5bb33bb82885575db0a1842d9892 /spec/fixtures/api/schemas/public_api/v4/tag.json
parent0ec87b3bf0ac27af5f5fedf97d51c8b14b050f50 (diff)
downloadgitlab-ce-10fe62ec80be86c227e38d60e30fecba0c5bbe29.tar.gz
Fix the /projects/:id/repository/tags endpoint to handle dots in the tag name when the project full path contains a `/`
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'spec/fixtures/api/schemas/public_api/v4/tag.json')
-rw-r--r--spec/fixtures/api/schemas/public_api/v4/tag.json21
1 files changed, 21 insertions, 0 deletions
diff --git a/spec/fixtures/api/schemas/public_api/v4/tag.json b/spec/fixtures/api/schemas/public_api/v4/tag.json
new file mode 100644
index 00000000000..52cfe86aeeb
--- /dev/null
+++ b/spec/fixtures/api/schemas/public_api/v4/tag.json
@@ -0,0 +1,21 @@
+{
+ "type": "object",
+ "required" : [
+ "name",
+ "message",
+ "commit",
+ "release"
+ ],
+ "properties" : {
+ "name": { "type": "string" },
+ "message": { "type": ["string", "null"] },
+ "commit": { "$ref": "commit/basic.json" },
+ "release": {
+ "oneOf": [
+ { "type": "null" },
+ { "$ref": "release.json" }
+ ]
+ }
+ },
+ "additionalProperties": false
+}