debian-mirror-gitlab/spec/fixtures/api/schemas/entities/merge_request_basic.json
2019-03-02 22:35:43 +05:30

29 lines
830 B
JSON

{
"type": "object",
"properties" : {
"state": { "type": "string" },
"merge_status": { "type": "string" },
"source_branch_exists": { "type": "boolean" },
"merge_error": { "type": ["string", "null"] },
"rebase_in_progress": { "type": "boolean" },
"assignee_id": { "type": ["integer", "null"] },
"allow_collaboration": { "type": "boolean"},
"allow_maintainer_to_push": { "type": "boolean"},
"assignee": {
"oneOf": [
{ "type": "null" },
{ "$ref": "user.json" }
]
},
"milestone": {
"type": [ "object", "null" ]
},
"labels": {
"type": [ "array", "null" ]
},
"task_status": { "type": "string" },
"task_status_short": { "type": "string" },
"lock_version": { "type": ["string", "null"] }
},
"additionalProperties": false
}