diff options
author | Rémy Coutable <remy@rymai.me> | 2017-07-26 16:53:07 +0300 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2017-08-08 12:50:58 +0300 |
commit | 10fe62ec80be86c227e38d60e30fecba0c5bbe29 (patch) | |
tree | 6427cca9ef5c5bb33bb82885575db0a1842d9892 /spec/fixtures/api/schemas/public_api/v4/tag.json | |
parent | 0ec87b3bf0ac27af5f5fedf97d51c8b14b050f50 (diff) |
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.json | 21 |
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 +} |