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

26 lines
568 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", "null" ] },
"commit_url": { "type": "string" },
"commit_path": { "type": "string" },
"author": {
"oneOf": [
{ "type": "null" },
{ "$ref": "user.json" }
]
}
}
}
]
}