debian-mirror-gitlab/spec/fixtures/api/schemas/entities/commit.json
2018-12-13 13:39:08 +05:30

27 lines
556 B
JSON

{
"type": "object",
"allOf": [
{ "$ref": "../public_api/v4/commit/basic.json" },
{
"type": "object",
"required": [
"author_gravatar_url",
"commit_url",
"commit_path",
"author"
],
"properties": {
"author_gravatar_url": { "type": "string" },
"commit_url": { "type": "string" },
"commit_path": { "type": "string" },
"author": {
"oneOf": [
{ "type": "null" },
{ "$ref": "user.json" }
]
}
}
}
]
}