8db6c4c6e7
- Extract MR fields for notes into a separate serializer - Check if pipelines are empty via count
32 lines
1.2 KiB
JSON
32 lines
1.2 KiB
JSON
{
|
|
"type": "object",
|
|
"allOf": [
|
|
{ "$ref": "merge_request_poll_cached_widget.json" },
|
|
{ "$ref": "merge_request_poll_widget.json" },
|
|
{
|
|
"properties" : {
|
|
"source_project_full_path": { "type": ["string", "null"]},
|
|
"target_project_full_path": { "type": ["string", "null"]},
|
|
"email_patches_path": { "type": "string" },
|
|
"plain_diff_path": { "type": "string" },
|
|
"merge_request_basic_path": { "type": "string" },
|
|
"merge_request_widget_path": { "type": "string" },
|
|
"merge_request_cached_widget_path": { "type": "string" },
|
|
"commit_change_content_path": { "type": "string" },
|
|
"conflicts_docs_path": { "type": ["string", "null"] },
|
|
"merge_request_pipelines_docs_path": { "type": ["string", "null"] },
|
|
"ci_environments_status_path": { "type": "string" },
|
|
"issues_links": {
|
|
"type": "object",
|
|
"required": ["closing", "mentioned_but_not_closing", "assign_to_closing"],
|
|
"properties" : {
|
|
"closing": { "type": "string" },
|
|
"mentioned_but_not_closing": { "type": "string" },
|
|
"assign_to_closing": { "type": ["string", "null"] }
|
|
},
|
|
"additionalProperties": false
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|