gitlab-org--gitlab-foss/spec/fixtures/api/schemas/release.json
Shinya Maeda 6bd7e1b876 Add tests for Release Link API
Add tests for the API and add a couple of tests

Add

revert

revert
2019-01-07 14:07:05 +09:00

29 lines
765 B
JSON

{
"type": "object",
"required": ["name", "tag_name"],
"properties": {
"name": { "type": "string" },
"tag_name": { "type": "string" },
"description": { "type": "string" },
"description_html": { "type": "string" },
"created_at": { "type": "date" },
"commit": {
"oneOf": [{ "type": "null" }, { "$ref": "public_api/v4/commit/basic.json" }]
},
"author": {
"oneOf": [{ "type": "null" }, { "$ref": "public_api/v4/user/basic.json" }]
},
"assets": {
"count": { "type": "integer" },
"links": { "$ref": "release/links.json" },
"sources": {
"type": "array",
"items": {
"format": "zip",
"url": "string"
}
}
}
},
"additionalProperties": false
}