debian-mirror-gitlab/spec/fixtures/api/schemas/entities/commit.json

27 lines
556 B
JSON
Raw Normal View History

2018-12-05 23:21:45 +05:30
{
"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" },
2018-12-13 13:39:08 +05:30
{ "$ref": "user.json" }
2018-12-05 23:21:45 +05:30
]
}
2018-12-13 13:39:08 +05:30
}
2018-12-05 23:21:45 +05:30
}
]
}